/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
  /* Colors - Dark Theme (Default) */
  --primary-color: #00d4ff;
  --secondary-color: #7c3aed;
  --accent-color: #ff6b6b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --first-color: var(--primary-color);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);

  /* Text Colors */
  --text-primary: #f7fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #a0aec0;

  /* Background Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;

  /* Border & Divider */
  --border-color: #334155;
  --divider-color: #475569;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);

  /* Typography */
  --font-primary:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

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

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

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

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

input,
textarea {
  font-family: inherit;
}

::selection {
  background-color: var(--primary-color);
  color: white;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

/* ========================================
   OVERLAY LOADER
   ======================================== */
.overlay {
  position: fixed;
  top: 0;
  width: 33.33%;
  height: 100%;
  background: var(--secondary-color);
  z-index: 9999;
}

.first {
  left: 0;
}

.second {
  left: 33.33%;
}

.third {
  left: 66.66%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: clamp(250px, 40vw, 500px);
  height: clamp(250px, 40vw, 500px);
  background: var(--gradient-primary);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: var(--gradient-secondary);
  bottom: -10%;
  left: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: var(--gradient-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-greeting {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 3rem;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

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

  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn span,
.btn i {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-secondary {
  color: white;
  border: 1px solid white;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

/* Neon Button System */
.btn-neon {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-neon:hover {
  background: var(--secondary-color);
  color: var(--text-primary);
  text-shadow: none;
}

.btn-neon-solid {
  background: var(--secondary-color);
  color: var(--text-primary);
}

.btn-neon-no-glow {
  box-shadow: none;
  background: transparent;
}

.btn-neon i {
  transition: transform 0.3s ease;
}

.hero-social {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 1s backwards;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  position: relative;
  z-index: 1;
  order: -1;
}

.home__img {
  width: 100%;
  max-width: clamp(300px, 45vw, 500px);
  aspect-ratio: 5 / 6;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* IMAGE CLIP */
.home__img-inner {
  width: 100%;
  height: 95%;
  clip-path: url(#roundedHexagon);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  margin-top: -5%;
}

.home__img-inner img {
  width: 65%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  margin-top: auto;
}

.home__img:hover img {
  transform: scale(1.05);
}

/* GLOW BACKGROUND */
.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  clip-path: url(#roundedHexagon);
  transform: scale(0.85) translateY(5%);
  filter: drop-shadow(0 0 10px var(--first-color))
    drop-shadow(0 0 30px var(--first-color));
  transition: all 0.3s ease;
}

.home__img:hover .home__bg {
  filter: drop-shadow(0 0 20px var(--first-color))
    drop-shadow(0 0 60px var(--first-color));
}

@media (max-width: 1024px) {
  .home__img {
    max-width: clamp(280px, 60vw, 450px);
    aspect-ratio: 1 / 1;
    margin: 2rem auto;
  }
}

@media (max-width: 768px) {
  .home__img {
    max-width: clamp(220px, 85vw, 360px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
  padding: 6rem 0;
}

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

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
}

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

/* Left Bio Column */
.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio-tag {
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bio-name {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.bio-role {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.bio-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

/* Right Details Column */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  position: relative;
  border: 1px solid #7c3aeda7;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.card-icon-box {
  width: 50px;
  height: 50px;
  background: #7c3aed65;
  /* Low opacity cyan */
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #f7fafc;
}

.card-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-main-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.card-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
}

/* ========================================
   SKILLS SECTION (Categorized Grid)
   ======================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.skill-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.skill-category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-category-icon {
  width: 45px;
  height: 45px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

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

.skill-tag {
  background: rgba(51, 65, 85, 0.5);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: scale(1.05);
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */
.achievements {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
  position: relative;
  padding: 8rem 0;
  overflow-x: hidden;
}

.achievements-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 2rem;
  padding: 2rem 2rem 4rem;
  width: 100vw;
  position: relative;
  scroll-behavior: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.achievements-grid::-webkit-scrollbar {
  display: none;
}

.achievement-card {
  flex: 0 0 350px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.achievement-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.achievement-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.achievement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.achievement-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  opacity: 0.1;
  color: var(--primary-color);
  transition: all var(--transition-base);
}

.achievement-card:hover .achievement-icon {
  opacity: 0.3;
  transform: scale(1.2) rotate(10deg);
}

@media (max-width: 768px) {
  .achievement-card {
    flex: 0 0 300px;
    padding: 2rem;
  }
}

/* OLD SKILLS STYLES REMOVED */

.skill-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1s ease-out;
}

.skill-fill.animated {
  width: var(--progress);
}

.skill-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
}

.skill-card h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.skill-level {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  transition: all var(--transition-base);
}

.level-dot.active {
  background: var(--gradient-primary);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
}

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

.project-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: ease-in 0.6s ease-out 1s all;
  transition: all var(--transition-base);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.project-link:hover {
  color: white;
  transform: scale(1.5);
}

.project-content {
  padding: 1.5rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hidden projects styling */
.project-card.hidden-project {
  display: none;
}

/* View All Projects button */
.view-all-btn {
  display: block;
  margin: 3rem auto 0;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.view-all-btn i {
  margin-left: 0.5rem;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience {
  background: var(--bg-primary);
}

.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 1rem;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: var(--border-color);
}

.experience-item {
  position: relative;
  padding-left: 3.5rem;
}

.experience-marker {
  position: absolute;
  top: 0;
  left: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 0 4px var(--bg-primary);
  z-index: 1;
}

.experience-content {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.experience-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

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

.experience-header h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin: 0;
}

.experience-duration {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.experience-company {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.experience-location {
  font-weight: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   CONTACT/RESUME SECTION
   ======================================== */
.resume-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.resume-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.resume-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.resume-details {
  margin-bottom: 2rem;
}

.resume-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.resume-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.resume-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.resume-item a {
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.resume-item a:hover {
  color: var(--primary-color);
}

.resume-actions {
  margin-bottom: 2rem;
}

#download-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.resume-social {
  display: flex;
  gap: 1rem;
}

.resume-viewer {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 600px;
}

#resume-iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
}

/* Legacy contact form styles (kept for reference) */
.contact-form {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(212, 0, 255, 0.1);
}

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom i {
  color: var(--accent-color);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow: var(--shadow-xl);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .hero-container,
  .about-content,
  .skills-container,
  .contact-content,
  .resume-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image {
    order: -1;
  }

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

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

@media (max-width: 768px) {
  .nav-container {
    padding: 0.75rem 1.5rem;
    gap: 1rem;
  }

  .nav-logo {
    order: 2;
    margin-left: 0;
  }

  .nav-actions {
    order: 1;
    margin-left: 0;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 1.5rem;
    width: 250px;
    height: auto;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    pointer-events: none;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: transparent;
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    background: var(--bg-secondary);
    padding-left: 1.5rem;
  }

  .mobile-toggle {
    display: flex;
    order: 1;
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .skill-cards {
    grid-template-columns: 1fr;
  }

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

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

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

  .resume-viewer {
    min-height: 400px;
  }

  #resume-iframe {
    min-height: 400px;
  }
}

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

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

  .floating-card {
    display: none;
  }
}
