/* Modern CSS Custom Properties */
:root {
  /* Primary Colors */
  --primary-color: #ff6700;
  --primary-dark: #e05c00;
  --primary-light: #ff8533;
  --accent-color: #e60026;
  --accent-dark: #cc0022;

  /* Neutral Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2d2d2d;
  --surface: #1e1e1e;
  --surface-hover: #2a2a2a;

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #ff6700 0%, #e60026 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-accent: linear-gradient(135deg, #ff6700 0%, #ff8533 100%);

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

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 20px 40px -12px rgb(255 103 0 / 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Light Theme */
[data-theme="light"] {
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection Styles */
::selection {
  background: var(--primary-color);
  color: white;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: none !important;
}

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

.loader {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 2rem;
}

.loader-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.loader-line-wrap {
  animation: spin 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
  box-sizing: border-box;
  height: 50px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform-origin: 50% 100%;
  width: 1px;
}

.loader-line {
  border: 1px solid transparent;
  border-image: var(--gradient-primary);
  border-image-slice: 1;
  box-sizing: border-box;
  height: 100%;
  position: relative;
  width: 100%;
}

.loader-line-wrap:nth-child(1) {
  animation-delay: -50ms;
}
.loader-line-wrap:nth-child(2) {
  animation-delay: -100ms;
}
.loader-line-wrap:nth-child(3) {
  animation-delay: -150ms;
}
.loader-line-wrap:nth-child(4) {
  animation-delay: -200ms;
}
.loader-line-wrap:nth-child(5) {
  animation-delay: -250ms;
}

.loading-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.loading-text span {
  display: inline-block;
  animation: wave 1.5s ease-in-out infinite;
}

.loading-text span:nth-child(1) {
  animation-delay: 0s;
}
.loading-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.loading-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.loading-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.loading-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.loading-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.loading-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.loading-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.loading-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.loading-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.loading-text span:nth-child(11) {
  animation-delay: 1s;
}

@keyframes spin {
  0%,
  15% {
    transform: translate(-50%, -100%) rotate(0deg);
  }
  25%,
  35% {
    transform: translate(-50%, -100%) rotate(90deg);
  }
  45%,
  55% {
    transform: translate(-50%, -100%) rotate(180deg);
  }
  65%,
  75% {
    transform: translate(-50%, -100%) rotate(270deg);
  }
  85%,
  100% {
    transform: translate(-50%, -100%) rotate(360deg);
  }
}

@keyframes wave {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px);
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bg-secondary);
  z-index: 9999;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.3s ease;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  transition: all 0.1s ease;
  opacity: 0.5;
}

/* Background Canvas */
#networkCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 103, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

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

.logo-dot {
  color: var(--accent-color);
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-normal);
  z-index: -1;
  opacity: 0.1;
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 0;
}

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

.theme-toggle {
  margin-left: 1rem;
}

.theme-btn {
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.theme-btn i {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.theme-btn:hover i {
  color: var(--primary-color);
}

.theme-btn .fa-moon {
  display: none;
}

[data-theme="light"] .theme-btn .fa-sun {
  display: none;
}

[data-theme="light"] .theme-btn .fa-moon {
  display: block;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-normal);
  z-index: -1;
  opacity: 0.1;
}

.mobile-nav-link:hover::before {
  left: 0;
}

.mobile-nav-link:hover {
  transform: scale(1.05);
}

.mobile-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-social a {
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.mobile-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  min-height: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.typing-text {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.5;
}

.txt {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #e60026);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.txt::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6700, #e60026);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glitch 3s infinite;
  opacity: 0;
}

.cursor {
  display: inline-block;
  background: var(--primary-color);
  margin-left: 3px;
  width: 3px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    background-color: var(--primary-color);
  }
  50% {
    background-color: transparent;
  }
  100% {
    background-color: var(--primary-color);
  }
}

@keyframes glitch {
  0%,
  90%,
  100% {
    opacity: 0;
  }
  91%,
  95% {
    opacity: 0.8;
    transform: translate(-1px, 1px);
  }
  93% {
    opacity: 0.6;
    transform: translate(1px, -1px);
  }
}

/* Typewriter effect enhancements */
.typing-text::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  animation: typing-cursor 1s infinite;
}

@keyframes typing-cursor {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(255, 103, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--surface-hover);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

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

.hero-social a {
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.hero-social a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.hero-social a:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.hero-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
}

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

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-slow);
}

.profile-image:hover {
  transform: scale(1.05);
}

.image-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  filter: blur(30px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  animation: float var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  backdrop-filter: blur(10px);
}

.floating-icon:nth-child(1) {
  top: 10%;
  right: 10%;
}

.floating-icon:nth-child(2) {
  top: 20%;
  left: -10%;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  right: -5%;
}

.floating-icon:nth-child(4) {
  bottom: 10%;
  left: 15%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

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

.about-text {
  z-index: 2;
}

.about-intro h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.skills-overview {
  margin-bottom: 2rem;
}

.skill-category {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.skill-category:hover {
  border-color: rgba(255, 103, 0, 0.3);
  background: rgba(255, 103, 0, 0.05);
}

.skill-category h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category i {
  color: var(--primary-color);
}

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

.skill-tags span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
  transition: all var(--transition-normal);
}

.skill-tags span:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.about-achievements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.achievement:hover {
  border-color: rgba(255, 103, 0, 0.3);
  background: rgba(255, 103, 0, 0.05);
  transform: translateY(-2px);
}

.achievement i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.achievement h5 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

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

.about-image {
  position: relative;
  z-index: 2;
}

.about-img-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.about-img-container img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slow);
}

.about-img-container:hover img {
  transform: scale(1.02);
}

.about-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.decoration-dots {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.decoration-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: dotPulse 2s ease-in-out infinite;
}

.decoration-dots span:nth-child(even) {
  animation-delay: 1s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-features span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.service-hover {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  right: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 2;
}

.service-card:hover .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.service-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 103, 0, 0.2);
  color: var(--text-secondary);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: start; /* Important: prevents height stretching */
  justify-items: center;
}

.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  width: 100%;
  max-width: 450px; /* Consistent max width */
  height: auto; /* Let height be natural */
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 280px; /* Fixed height for web screenshots */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
  filter: drop-shadow(0 0 10px rgba(255, 103, 0, 0.1));
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(255, 103, 0, 0.3));
}

.mobile-screenshot {
  min-height: 450px !important;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3rem;
  position: relative;
}

.mobile-screenshot::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 2.5rem;
  z-index: 1;
}

.mobile-screenshot img {
  width: auto !important;
  height: 80% !important; /* Reduced from 85% */
  max-width: 55% !important; /* Reduced from 60% */
  max-height: 420px !important;
  object-fit: contain !important;
  border-radius: 1.8rem !important;
  position: relative;
  z-index: 2;
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
  transition: all 0.3s ease;
  box-shadow: 0 0 0 3px #333, 0 0 0 4px var(--primary-color),
    0 15px 35px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 103, 0, 0.4) !important;
  animation: subtlePulse 3s ease-in-out infinite !important;
}

.portfolio-item:hover .mobile-screenshot img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02) !important;
  animation: phoneGlow 1.5s ease-in-out infinite !important;
}

/* Special layout for mobile apps */
.portfolio-item.mobile-app {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  border: 1px solid rgba(255, 103, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.portfolio-item.mobile-app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 25% 25%,
      rgba(255, 103, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(230, 0, 38, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(255, 103, 0, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-normal);
  padding: 6em 0 6em;
  z-index: 3;
}

/* ADDED: Phone frame effect */
.mobile-screenshot::after {
  content: "";
  position: absolute;
  width: 65%;
  height: 85%;
  border: 2px solid #555;
  border-radius: 2rem;
  background: transparent;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 103, 0, 0.3);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  text-align: center;
  max-width: 320px; /* UPDATED: Increased max-width */
}

.portfolio-category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.4rem 1rem; /* UPDATED: Increased padding */
  border-radius: 1.5rem; /* UPDATED: More rounded */
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 500; /* ADDED: Font weight */
  letter-spacing: 0.5px; /* ADDED: Letter spacing */
}

/* Special Animation for Mobile Screenshots */
/* ADDED: Phone glow animation */
/* UPDATED: Enhanced phone glow animation */
@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px #333, 0 0 0 4px var(--primary-color),
      0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 103, 0, 0.4);
    filter: drop-shadow(0 0 20px rgba(255, 103, 0, 0.3));
  }
  50% {
    box-shadow: 0 0 0 3px #444, 0 0 0 5px var(--primary-color),
      0 25px 50px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 103, 0, 0.6);
    filter: drop-shadow(0 0 30px rgba(255, 103, 0, 0.5));
  }
}

/* Strong glow animation on hover */
@keyframes phoneGlow {
  0%,
  100% {
    box-shadow: 0 0 0 3px #555, 0 0 0 6px var(--primary-color),
      0 30px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 103, 0, 0.7),
      0 0 120px rgba(255, 103, 0, 0.4);
    filter: drop-shadow(0 0 40px rgba(255, 103, 0, 0.6));
  }
  50% {
    box-shadow: 0 0 0 4px #666, 0 0 0 8px var(--primary-color),
      0 35px 70px rgba(0, 0, 0, 0.9), 0 0 120px rgba(255, 103, 0, 0.9),
      0 0 180px rgba(255, 103, 0, 0.6);
    filter: drop-shadow(0 0 60px rgba(255, 103, 0, 0.8));
  }
}

.portfolio-item.mobile-app {
  background: linear-gradient(135deg, #111111, #1e1e1e);
  border: 1px solid rgba(255, 103, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.portfolio-item.mobile-app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 103, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(230, 0, 38, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.portfolio-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  padding: 0 1rem 0 1rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.portfolio-tech span {
  background: rgba(255, 255, 255, 0.25); /* UPDATED: More opaque */
  color: white;
  padding: 0.3rem 0.8rem; /* UPDATED: Increased padding */
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500; /* ADDED: Font weight */
  backdrop-filter: blur(10px); /* ADDED: Backdrop blur */
  border: 1px solid rgba(255, 255, 255, 0.2); /* ADDED: Border */
}

.portfolio-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.portfolio-link {
  width: 45px; /* UPDATED: Larger size */
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  backdrop-filter: blur(10px); /* ADDED: Backdrop blur */
  border: 1px solid rgba(255, 255, 255, 0.3); /* ADDED: Border */
}

.portfolio-link::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.portfolio-link:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.portfolio-link:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.15); /* UPDATED: Larger scale */
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3); /* ADDED: Shadow */
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-normal);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.portfolio-cta p {
  color: var(--text-secondary);
  margin: 1rem 0;
}

/* Experience Section */
.experience-section {
  padding: 100px 0;
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--primary-color);
}

.timeline-content {
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.timeline-date {
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-skills span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
}

// ...existing code...

.skills-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category-group {
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 2rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-category-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 103, 0, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.skill-category-group:hover::before {
  left: 100%;
}

.skill-category-group:hover {
  border-color: rgba(255, 103, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 103, 0, 0.1);
}

.skill-category-group h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 103, 0, 0.2);
  position: relative;
  z-index: 2;
}

.skill-category-group h4 i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.skills-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 103, 0, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 103, 0, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-item:hover {
  background: rgba(255, 103, 0, 0.03);
  border-color: rgba(255, 103, 0, 0.2);
  transform: translateX(5px);
}

.skill-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.skill-item:hover .skill-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.skill-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.skill-level {
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.skill-level::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.skill-level:hover::before {
  left: 100%;
}

.skill-level.expert {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
  border: 1px solid rgba(255, 103, 0, 0.4);
}

.skill-level.advanced {
  background: linear-gradient(135deg, var(--primary-color), #ff8533);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 103, 0, 0.25);
  border: 1px solid rgba(255, 133, 51, 0.4);
}

.skill-level.intermediate {
  background: linear-gradient(135deg, #ff8533, #ffb366);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 133, 51, 0.2);
  border: 1px solid rgba(255, 179, 102, 0.4);
  font-weight: 600;
}

.skill-level.beginner {
  background: linear-gradient(135deg, var(--accent-color), #ff3366);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 0, 38, 0.3);
  border: 1px solid rgba(255, 51, 102, 0.4);
}

/* Add pulse animation for skill levels */
.skill-level.expert:hover {
  animation: expertPulse 1s ease-in-out;
}

.skill-level.advanced:hover {
  animation: advancedPulse 1s ease-in-out;
}

.skill-level.intermediate:hover {
  animation: intermediatePulse 1s ease-in-out;
}

.skill-level.beginner:hover {
  animation: beginnerPulse 1s ease-in-out;
}

@keyframes expertPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 103, 0, 0.5);
  }
}

@keyframes advancedPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 103, 0, 0.25);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 133, 51, 0.4);
  }
}

@keyframes intermediatePulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.2);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 179, 102, 0.35);
  }
}

@keyframes beginnerPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(230, 0, 38, 0.3);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 51, 102, 0.5);
  }
}

/* Responsive adjustments for skills */

@media (max-width: 480px) {
  .skill-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .skills-section h3 {
    font-size: 1.5rem;
  }

  .skill-category-group h4 {
    font-size: 1rem;
  }
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.skill-header span:first-child {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-header i {
  color: var(--primary-color);
}

.skill-header span:last-child {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 103, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  width: 0;
  transition: width 2s ease;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  border-color: var(--primary-color);
  background: rgba(255, 103, 0, 0.05);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-details h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.contact-details a:hover {
  color: var(--primary-light);
}

.contact-social {
  margin-top: 1rem;
}

.contact-social h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.social-links a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.social-links a:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

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

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 103, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 103, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.1);
}

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

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
  opacity: 1;
  visibility: visible;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  opacity: 1;
  visibility: visible;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 103, 0, 0.1);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-stat {
  text-align: center;
}

.footer-stat .stat-number {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

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

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

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-section a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 103, 0, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

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

.footer-bottom-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--primary-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: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Modern CSS Custom Properties */
:root {
  /* Primary Colors */
  --primary-color: #ff6700;
  --primary-dark: #e05c00;
  --primary-light: #ff8533;
  --accent-color: #e60026;
  --accent-dark: #cc0022;

  /* Neutral Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2d2d2d;
  --surface: #1e1e1e;
  --surface-hover: #2a2a2a;

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #ff6700 0%, #e60026 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --gradient-accent: linear-gradient(135deg, #ff6700 0%, #ff8533 100%);

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

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 20px 40px -12px rgb(255 103 0 / 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Light Theme */
[data-theme="light"] {
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection Styles */
::selection {
  background: var(--primary-color);
  color: white;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 2rem;
}

.loader-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.loader-line-wrap {
  animation: spin 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
  box-sizing: border-box;
  height: 50px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform-origin: 50% 100%;
  width: 1px;
}

.loader-line {
  border: 1px solid transparent;
  border-image: var(--gradient-primary);
  border-image-slice: 1;
  box-sizing: border-box;
  height: 100%;
  position: relative;
  width: 100%;
}

.loader-line-wrap:nth-child(1) {
  animation-delay: -50ms;
}
.loader-line-wrap:nth-child(2) {
  animation-delay: -100ms;
}
.loader-line-wrap:nth-child(3) {
  animation-delay: -150ms;
}
.loader-line-wrap:nth-child(4) {
  animation-delay: -200ms;
}
.loader-line-wrap:nth-child(5) {
  animation-delay: -250ms;
}

.loading-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.loading-text span {
  display: inline-block;
  animation: wave 1.5s ease-in-out infinite;
}

.loading-text span:nth-child(1) {
  animation-delay: 0s;
}
.loading-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.loading-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.loading-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.loading-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.loading-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.loading-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.loading-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.loading-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.loading-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.loading-text span:nth-child(11) {
  animation-delay: 1s;
}

@keyframes spin {
  0%,
  15% {
    transform: translate(-50%, -100%) rotate(0deg);
  }
  25%,
  35% {
    transform: translate(-50%, -100%) rotate(90deg);
  }
  45%,
  55% {
    transform: translate(-50%, -100%) rotate(180deg);
  }
  65%,
  75% {
    transform: translate(-50%, -100%) rotate(270deg);
  }
  85%,
  100% {
    transform: translate(-50%, -100%) rotate(360deg);
  }
}

@keyframes wave {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px);
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bg-secondary);
  z-index: 9999;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.3s ease;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  transition: all 0.1s ease;
  opacity: 0.5;
}

/* Background Canvas */
#networkCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 103, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

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

.logo-dot {
  color: var(--accent-color);
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-normal);
  z-index: -1;
  opacity: 0.1;
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 0;
}

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

.theme-toggle {
  margin-left: 1rem;
}

.theme-btn {
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.theme-btn i {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.theme-btn:hover i {
  color: var(--primary-color);
}

.theme-btn .fa-moon {
  display: none;
}

[data-theme="light"] .theme-btn .fa-sun {
  display: none;
}

[data-theme="light"] .theme-btn .fa-moon {
  display: block;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-normal);
  z-index: -1;
  opacity: 0.1;
}

.mobile-nav-link:hover::before {
  left: 0;
}

.mobile-nav-link:hover {
  transform: scale(1.05);
}

.mobile-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-social a {
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.mobile-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.typing-text {
  color: var(--primary-color);
  font-weight: 600;
}

.typing-text::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  animation: typing-cursor 1s infinite;
}

.cursor {
  color: var(--accent-color);
  animation: blink 1s infinite;
}

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

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(255, 103, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--surface-hover);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

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

.hero-social a {
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.hero-social a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.hero-social a:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.hero-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
}

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

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-slow);
}

.profile-image:hover {
  transform: scale(1.05);
}

.image-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  filter: blur(30px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  animation: float var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  backdrop-filter: blur(10px);
}

.floating-icon:nth-child(1) {
  top: 10%;
  right: 10%;
}

.floating-icon:nth-child(2) {
  top: 20%;
  left: -10%;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  right: -5%;
}

.floating-icon:nth-child(4) {
  bottom: 10%;
  left: 15%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.scroll-indicator {
  position: absolute;

  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

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

.about-text {
  z-index: 2;
}

.about-intro h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.skills-overview {
  margin-bottom: 2rem;
}

.skill-category {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.skill-category:hover {
  border-color: rgba(255, 103, 0, 0.3);
  background: rgba(255, 103, 0, 0.05);
}

.skill-category h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category i {
  color: var(--primary-color);
}

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

.skill-tags span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
  transition: all var(--transition-normal);
}

.skill-tags span:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.about-achievements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.achievement:hover {
  border-color: rgba(255, 103, 0, 0.3);
  background: rgba(255, 103, 0, 0.05);
  transform: translateY(-2px);
}

.achievement i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.achievement h5 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

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

.about-image {
  position: relative;
  z-index: 2;
}

.about-img-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.about-img-container img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slow);
}

.about-img-container:hover img {
  transform: scale(1.02);
}

.about-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.decoration-dots {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.decoration-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: dotPulse 2s ease-in-out infinite;
}

.decoration-dots span:nth-child(even) {
  animation-delay: 1s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 103, 0, 0.1);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-features span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.service-hover {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  right: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 2;
}

.service-card:hover .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.service-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 103, 0, 0.2);
  color: var(--text-secondary);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

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

.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.portfolio-tech span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 0.8rem;
  font-size: 0.7rem;
}

.portfolio-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.portfolio-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.portfolio-link::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.portfolio-link:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.portfolio-link:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-normal);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.portfolio-cta p {
  color: var(--text-secondary);
  margin: 1rem 0;
}

/* Experience Section */
.experience-section {
  padding: 100px 0;
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--primary-color);
}

.timeline-content {
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.timeline-date {
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-skills span {
  background: rgba(255, 103, 0, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.skills-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  background: var(--gradient-secondary);
  border: 1px solid rgba(255, 103, 0, 0.1);
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.skill-item:hover {
  border-color: var(--primary-color);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.skill-header span:first-child {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-header i {
  color: var(--primary-color);
}

.skill-header span:last-child {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 103, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  width: 0;
  transition: width 2s ease;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--gradient-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  border-color: var(--primary-color);
  background: rgba(255, 103, 0, 0.05);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-details h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.contact-details a:hover {
  color: var(--primary-light);
}

.contact-social {
  margin-top: 1rem;
}

.contact-social h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.social-links a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 103, 0, 0.2);
}

.social-links a:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 103, 0, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

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

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 103, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 103, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.1);
}

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

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
  opacity: 1;
  visibility: visible;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  opacity: 1;
  visibility: visible;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 103, 0, 0.1);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-stat {
  text-align: center;
}

.footer-stat .stat-number {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

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

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

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-section a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid rgba(255, 103, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
  padding: 0 !important;
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 103, 0, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

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

.footer-bottom-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--primary-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: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
}

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

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-screenshot {
    min-height: 380px !important; /* UPDATED: Adjusted height */
    padding: 1.5rem; /* UPDATED: Reduced padding */
  }

  .mobile-screenshot img {
    max-width: 70% !important; /* UPDATED: Adjusted width */
    max-height: 340px !important;
    border-radius: 1.5rem !important;
  }

  /* UPDATED: Mobile frame adjustment */
  .mobile-screenshot::after {
    width: 75%;
    height: 85%;
    border-radius: 1.8rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .image-container {
    width: 300px;
    height: 300px;
  }

  .hero-stats {
    justify-content: center;
  }

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

  .hero-social {
    justify-content: center;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  @keyframes float {
    0%,
    100% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-20px) rotate(5deg);
    }
  }

  .scroll-indicator {
    position: absolute;
    bottom: -5em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    z-index: 900;
  }

  .scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 2px;
    z-index: 900;
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-10px);
    }
    60% {
      transform: translateX(-50%) translateY(-5px);
    }
  }

  /* Section Styling */
  .section-badge {
    display: inline-block;
    background: rgba(255, 103, 0, 0.1);
    border: 1px solid rgba(255, 103, 0, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
  }

  .section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(
      135deg,
      var(--text-primary) 0%,
      var(--primary-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* About Section */
  .about-section {
    padding: 100px 0;
    background: var(--bg-secondary);
  }

  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
  }

  .about-intro h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }

  .about-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }

  .skills-overview {
    margin-bottom: 2rem;
  }

  .skill-category {
    margin-bottom: 1.5rem;
  }

  .skill-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
  }

  .skill-category i {
    color: var(--primary-color);
  }

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

  .skill-tags span {
    background: rgba(255, 103, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 103, 0, 0.2);
  }

  .about-achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .achievement {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .achievement:hover {
    background: rgba(255, 103, 0, 0.05);
    border-color: rgba(255, 103, 0, 0.2);
    transform: translateY(-2px);
  }

  .achievement i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }

  .achievement h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
  }

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

  .about-img-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-img-container img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }

  .about-img-container:hover img {
    transform: scale(1.05);
  }

  .about-decorations {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
  }

  .decoration-circle {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
  }

  .decoration-dots {
    position: absolute;
    bottom: -10px;
    left: -10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .decoration-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 2s ease-in-out infinite;
  }

  .decoration-dots span:nth-child(even) {
    animation-delay: 1s;
  }

  @keyframes twinkle {
    0%,
    100% {
      opacity: 0.3;
    }
    50% {
      opacity: 1;
    }
  }

  /* Services Section */
  .services-section {
    padding: 100px 0;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
  }

  .service-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 103, 0, 0.1),
      transparent
    );
    transition: left 0.5s ease;
  }

  .service-card:hover::before {
    left: 100%;
  }

  .service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 103, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 103, 0, 0.15);
  }

  .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
  }

  .service-icon i {
    font-size: 1.5rem;
    color: white;
  }

  .service-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
  }

  .service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
  }

  .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
  }

  .service-features span {
    background: rgba(255, 103, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 103, 0, 0.2);
  }

  .service-hover {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }

  .service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
  }

  .service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 103, 0, 0.3);
  }

  /* Portfolio Section */
  .portfolio-section {
    padding: 100px 0;
    background: var(--bg-secondary);
  }

  .portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .filter-btn:hover,
  .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
  }

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

  .portfolio-item {
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .portfolio-image {
    position: relative;
    overflow: hidden;
  }

  .portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
  }

  .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(255, 103, 0, 0.9),
      rgba(230, 0, 38, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }

  .portfolio-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
  }

  .portfolio-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .portfolio-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    padding: 0 1rem 0 1rem;
  }

  .portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .portfolio-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .portfolio-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .portfolio-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .portfolio-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .portfolio-link:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
  }

  .portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  .portfolio-cta {
    text-align: center;
    margin-top: 4rem;
  }

  .load-more-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .load-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
  }

  .portfolio-cta p {
    color: var(--text-secondary);
    margin: 1rem 0;
  }

  /* Experience Section */
  .experience-section {
    padding: 100px 0;
  }

  .experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
  }

  .timeline {
    position: relative;
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
  }

  .timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
  }

  .timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    z-index: 2;
  }

  .timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
  }

  .timeline-content::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    border: 10px solid transparent;
    border-right-color: var(--bg-secondary);
  }

  .timeline-date {
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .timeline-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }

  .timeline-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .timeline-skills span {
    background: rgba(255, 103, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 103, 0, 0.2);
  }

  .skills-section h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
  }

  .skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .skill-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .skill-header span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .skill-header i {
    color: var(--primary-color);
  }

  .skill-header span:last-child {
    font-weight: 600;
    color: var(--primary-color);
  }

  .skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
  }

  .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #e60026);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease;
  }

  /* Contact Section */
  .contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
  }

  .contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .contact-item:hover {
    background: rgba(255, 103, 0, 0.05);
    border-color: rgba(255, 103, 0, 0.2);
    transform: translateY(-5px);
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }

  .contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
  }

  .contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .contact-details a:hover {
    color: #e60026;
  }

  .contact-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  .contact-social {
    margin-top: 1rem;
  }

  .contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
  }

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

  .social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .social-links a::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-links a:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
  }

  .social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    border-color: var(--primary-color);
  }

  .contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

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

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

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
  }

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

  .submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 103, 0, 0.3);
  }

  .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
  }

  .form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: block;
  }

  .form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 103, 0, 0.1);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 2rem;
  }

  .footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-stat {
    text-align: center;
  }

  .footer-stat .stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
  }

  .footer-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
  }

  .footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
  }

  .footer-section ul li a:hover {
    color: var(--primary-color);
  }

  .footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid rgba(255, 103, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
  }

  .footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
  }

  .footer-contact {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
  }

  .footer-contact p {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  .footer-contact i {
    color: var(--primary-color);
    width: 16px;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 103, 0, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-bottom-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

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

  .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
  }

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

  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
  }

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

  .back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 103, 0, 0.3);
  }

  .footer-brand > .logo {
    margin: auto;
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-container,
  .about-content,
  .experience-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 480px) {
  .mobile-screenshot {
    min-height: 320px !important;
    padding: 1rem;
  }

  .mobile-screenshot img {
    max-width: 80% !important;
    max-height: 280px !important;
    border-radius: 1.2rem !important;
  }

  /* UPDATED: Small screen frame */
  .mobile-screenshot::after {
    width: 85%;
    height: 80%;
    border-radius: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }

  /* Add this to your existing CSS file */

  /* Enhanced Typing Animation */
  .hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-family: "Space Grotesk", sans-serif;
    margin: auto;
  }

  .typing-text {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: auto;
  }

  .hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-family: "Space Grotesk", sans-serif;
    margin: auto;
  }

  .typing-text {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: auto;
  }

  .txt {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .txt::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6700, #e60026);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
    opacity: 0;
  }

  .cursor {
    display: inline-block;
    background: var(--primary-color);
    margin-left: 3px;
    width: 3px;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0% {
      background-color: var(--primary-color);
    }
    50% {
      background-color: transparent;
    }
    100% {
      background-color: var(--primary-color);
    }
  }

  /* Add some glitch effect for extra coolness */
  .txt::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6700, #e60026);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
    opacity: 0;
  }

  .txt {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #e60026);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Typewriter effect enhancements */
  .typing-text::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    animation: typing-cursor 1s infinite;
  }

  @keyframes typing-cursor {
    0%,
    50% {
      opacity: 1;
    }
    51%,
    100% {
      opacity: 0;
    }
  }

  /* Add some glitch effect for extra coolness */
  .txt::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6700, #e60026);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
    opacity: 0;
  }

  @keyframes glitch {
    0%,
    90%,
    100% {
      opacity: 0;
    }
    91%,
    95% {
      opacity: 0.8;
      transform: translate(-1px, 1px);
    }
    93% {
      opacity: 0.6;
      transform: translate(1px, -1px);
    }
  }

  .cursor {
    display: inline-block;
    background: var(--primary-color);
    margin-left: 3px;
    width: 3px;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0% {
      background-color: var(--primary-color);
    }
    50% {
      background-color: transparent;
    }
    100% {
      background-color: var(--primary-color);
    }
  }

  /* Typewriter effect enhancements */
  .typing-text::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    animation: typing-cursor 1s infinite;
  }

  @keyframes typing-cursor {
    0%,
    50% {
      opacity: 1;
    }
    51%,
    100% {
      opacity: 0;
    }
  }

  @keyframes glitch {
    0%,
    90%,
    100% {
      opacity: 0;
    }
    91%,
    95% {
      opacity: 0.8;
      transform: translate(-1px, 1px);
    }
    93% {
      opacity: 0.6;
      transform: translate(1px, -1px);
    }
  }

  /* Responsive adjustments */

  @media (max-width: 480px) {
    .hero-subtitle {
      font-size: 1.25rem;
      min-height: 40px;
      margin: auto;
      margin-bottom: 1.5em;
    }
  }

  /* Add fade-in animation keyframes */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Loading animation improvements */
  .loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
}
