/* ==========================================================================
   PORTFOLIO - HETVI GAJERA | MODERN FEMININE & CREATIVE DESIGN SYSTEM
   ==========================================================================
   Color Palette:
     - Background:           #0F0A1F (Deep Cosmic Violet)
     - Secondary Background: #1B1533 (Sleek Elevated Surface)
     - Primary Accent:       #FF6FB5 (Vibrant Chic Pink)
     - Secondary Accent:     #C084FC (Soft Luminous Lavender)
     - Primary Text:         #FFFFFF (Crisp Pure White)
     - Secondary Text:       #B8B3C9 (Muted Lilac Gray)
   Typography:
     - Headings & Branding:  'Plus Jakarta Sans', 'Outfit', sans-serif
     - Body & Descriptions:  'Inter', system-ui, sans-serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS RESET & GLOBAL BOX MODEL
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Requested Color Palette */
  --bg-primary: #0F0A1F;
  --bg-secondary: #1B1533;
  --bg-secondary-elevated: #241C42;
  --bg-glass: rgba(27, 21, 51, 0.72);
  --bg-glass-card: rgba(27, 21, 51, 0.65);
  --bg-glass-input: rgba(15, 10, 31, 0.75);

  --accent-primary: #FF6FB5;
  --accent-secondary: #C084FC;
  --accent-hover: #ff52a7;
  --accent-gradient: linear-gradient(135deg, #FF6FB5 0%, #C084FC 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ff52a7 0%, #b26bf7 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(255, 111, 181, 0.15) 0%, rgba(192, 132, 252, 0.15) 100%);

  --text-primary: #FFFFFF;
  --text-secondary: #B8B3C9;
  --text-muted: #8E88A3;

  /* Borders & Shadows */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 111, 181, 0.45);
  --border-accent-subtle: rgba(192, 132, 252, 0.25);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 28px rgba(255, 111, 181, 0.35);
  --shadow-glow-purple: 0 0 32px rgba(192, 132, 252, 0.3);
  --shadow-card-hover: 0 24px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 111, 181, 0.22);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme (Preserved functionality with soft aesthetic feminine palette) */
[data-theme="light"] {
  --bg-primary: #FAF7FC;
  --bg-secondary: #FFFFFF;
  --bg-secondary-elevated: #F3EDF9;
  --bg-glass: rgba(250, 247, 252, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.85);
  --bg-glass-input: #FFFFFF;

  --text-primary: #1C122E;
  --text-secondary: #584F6E;
  --text-muted: #827899;

  --border-glass: rgba(0, 0, 0, 0.07);
  --border-glass-hover: rgba(255, 111, 181, 0.5);
  --border-accent-subtle: rgba(192, 132, 252, 0.35);

  --shadow-sm: 0 4px 16px rgba(118, 59, 143, 0.06);
  --shadow-md: 0 10px 30px rgba(118, 59, 143, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(118, 59, 143, 0.12);
  --shadow-glow: 0 0 24px rgba(255, 111, 181, 0.22);
  --shadow-glow-purple: 0 0 26px rgba(192, 132, 252, 0.2);
  --shadow-card-hover: 0 20px 40px -10px rgba(118, 59, 143, 0.14), 0 0 25px rgba(255, 111, 181, 0.18);
}

/* --------------------------------------------------------------------------
   3. AMBIENT BACKGROUND GLOW EFFECTS
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.45;
  transition: opacity 0.5s ease;
}

[data-theme="light"] .ambient-glow {
  opacity: 0.25;
}

.glow-top-left {
  top: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FF6FB5 0%, rgba(255, 111, 181, 0) 70%);
}

.glow-top-right {
  top: 10%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #C084FC 0%, rgba(192, 132, 252, 0) 70%);
}

.glow-center {
  top: 55%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 111, 181, 0.25) 0%, rgba(192, 132, 252, 0.15) 50%, transparent 70%);
}

/* --------------------------------------------------------------------------
   4. BASE & TYPOGRAPHY STYLES
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  animation: pageFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

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

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

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

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 14px;
  padding: 6px 18px;
  background: var(--accent-gradient-soft);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent-subtle);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   6. MODERN GLASSMORPHIC NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(15, 10, 31, 0.88);
  border-bottom-color: rgba(255, 111, 181, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(250, 247, 252, 0.95);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.03em;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.04);
}

.logo-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .logo-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: inline-block;
  box-shadow: var(--shadow-glow);
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

[data-theme="light"] .nav-menu {
  background: rgba(0, 0, 0, 0.02);
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-glow);
}

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

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

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

.theme-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-btn:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
  transform-origin: left;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(1px, -2px);
  background-color: var(--accent-primary);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-12px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(1px, 2px);
  background-color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--accent-gradient-soft);
  border: 1px solid var(--border-accent-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 111, 181, 0.7);
  animation: pinkPulse 2s infinite;
}

@keyframes pinkPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 181, 0.8);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 111, 181, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 111, 181, 0);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.hero-role-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.role-intro {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: var(--accent-primary);
  min-height: 1.6em;
  position: relative;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(255, 111, 181, 0.45);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

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

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.hero-highlights {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

[data-theme="light"] .highlight-item {
  background: rgba(0, 0, 0, 0.03);
}

.highlight-icon {
  font-size: 1rem;
}

/* HERO AVATAR */
.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  border-radius: 50%;
  padding: 8px;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow), var(--shadow-glow-purple);
  animation: floatAvatar 6s ease-in-out infinite;
}

@keyframes floatAvatar {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.avatar-glow-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.35;
    transform: scale(0.96);
  }

  100% {
    opacity: 0.65;
    transform: scale(1.04);
  }
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 4px solid var(--bg-primary);
}

.floating-badge {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-hover);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-top-right {
  top: 10px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes badgeFloat {

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

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

/* --------------------------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
}

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

.about-card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

.about-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 18px;
  line-height: 1.35;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tag-pill {
  background: var(--accent-gradient-soft);
  color: var(--accent-primary);
  border: 1px solid var(--border-accent-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.stat-item {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   9. SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.skill-category {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.skill-category:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.skill-category:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.category-icon {
  font-size: 1.8rem;
}

.skill-category-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.6;
}

.skill-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.skill-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--accent-gradient-soft);
  border: 1px solid var(--border-accent-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.skill-badge-item:hover {
  background: rgba(255, 111, 181, 0.2);
  border-color: var(--accent-primary);
  transform: translateX(5px);
  box-shadow: var(--shadow-glow);
}

.skill-bullet {
  color: var(--accent-primary);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   10. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-glow);
}

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

.project-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

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

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Individual Project Image Focal Alignments */
.project-img[src*="plix"] {
  object-position: 70% 35%;
}

.project-img[src*="staller"] {
  object-position: center 20%;
}

.project-img[src*="baek"] {
  object-position: 25% 40%;
}

.project-img[src*="peppaplease"] {
  object-position: center 42%;
}

.project-img[src*="cakesocial"] {
  object-position: 30% 50%;
}

.project-img[src*="tropina"] {
  object-position: center 24%;
}

.project-img[src*="salte"] {
  object-position: center 38%;
}

.project-img[src*="saralyatra"] {
  object-position: center top;
}

.project-img[src*="festify"] {
  object-position: center 28%;
}

.project-img[src*="designerdiary"] {
  object-position: center 20%;
}

.project-img[src*="scap"] {
  object-position: center top;
}

.project-img[src*="portfolio"] {
  object-position: center top;
}

.project-overlay-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 10, 31, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-hover);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.project-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-year {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.7;
}

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

.tag {
  background: var(--accent-gradient-soft);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent-subtle);
}

.project-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.project-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.project-link:hover {
  transform: translateX(4px);
  color: var(--accent-hover);
}

.project-link-secondary {
  color: var(--text-secondary);
}

.project-link-secondary:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   11. TIMELINE & MILESTONES
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  transform: translateX(-50%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 48px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 48px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 18px;
  width: 18px;
  height: 18px;
  background: var(--accent-primary);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 111, 181, 0.35);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.timeline-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-gradient-soft);
  border: 1px solid var(--border-accent-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.timeline-role {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.timeline-company {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.timeline-list li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-item:nth-child(odd) .timeline-list li {
  justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-list li {
  justify-content: flex-start;
}

@media screen and (max-width: 992px) {
  .timeline-item:nth-child(odd) .timeline-list li {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-gradient-soft);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  font-weight: 700;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 42px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.form-header h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.96rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(255, 111, 181, 0.2);
  background: rgba(27, 21, 51, 0.9);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  background: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  text-align: center;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   13. FOOTER & SCROLL TO TOP
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 50px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 6px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-glass);
}

.social-icon:hover {
  background: var(--accent-gradient);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.1);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

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

.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 111, 181, 0.6);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .hero .container {
    gap: 40px;
  }

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

@media screen and (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-role-wrapper,
  .hero-badge,
  .hero-buttons,
  .hero-highlights {
    justify-content: center;
    margin: 0 auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 54px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
  }

  .badge-top-right {
    right: 0;
  }

  .badge-bottom-left {
    left: 0;
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid var(--border-glass-hover);
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 26px;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  [data-theme="light"] .nav-menu {
    background: rgba(250, 247, 252, 0.98);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .hero-image-wrapper {
    width: min(270px, 75vw);
    height: min(270px, 75vw);
  }

  .contact-form {
    padding: 28px 20px;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 65px 0;
  }

  .container {
    width: 92%;
    padding: 0 8px;
  }

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

  .btn {
    width: 100%;
  }

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.86rem;
  }

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

  .about-card,
  .skill-category,
  .contact-form {
    padding: 26px 20px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   15. REDUCED MOTION ACCESSIBILITY
   -------------------------------------------------------------------------- */
@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;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-image-wrapper,
  .avatar-glow-ring,
  .floating-badge {
    animation: none !important;
  }
}