/* MAIN STYLES - Modern Dark Theme Portfolio */

/* ===== Variables ===== */
:root {
  /* Main colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #f8f8f8;
  --text-secondary: #b3b3b3;
  --text-tertiary: #727272;

  /* Accent colors */
  --accent-primary: #3a86ff;
  --accent-secondary: #8338ec;
  --accent-tertiary: #ff006e;
  --accent-quaternary: #fb5607;

  /* Gradients */
  --gradient-main: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--accent-tertiary),
    var(--accent-quaternary)
  );

  /* Box shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);

  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

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

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

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --font-size-xxs: 0.625rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Z-index layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-negative);
  background: radial-gradient(
      circle at 15% 50%,
      rgba(58, 134, 255, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(131, 56, 236, 0.08),
      transparent 25%
    ),
    radial-gradient(circle at 50% 80%, rgba(255, 0, 110, 0.08), transparent 25%);
  pointer-events: none;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--accent-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--space-md);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

p {
  margin-bottom: var(--space-md);
}

ul,
ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* ===== Layout & Containers ===== */
.container,
.section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  display: inline-block;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  padding: var(--space-md) 0;
  box-shadow: var(--shadow-lg);
}

.header.scrolled {
  padding: var(--space-sm) 0;
  background-color: rgba(10, 10, 10, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text-primary);
}

.logo-animation {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  box-shadow: 0 0 15px rgba(58, 134, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.logo:hover .logo-animation {
  transform: rotate(5deg) scale(1.05);
}

.logo-animation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
}

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

.name-title h1 {
  font-size: var(--font-size-lg);
  margin-bottom: 0;
}

.tagline {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  position: relative;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: var(--space-xs) var(--space-sm);
}

.nav-links a.active {
  color: var(--text-primary);
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-normal);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3xl);
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-3d-container {
  flex: 1;
  height: 500px;
  min-width: 400px;
  position: relative;
  z-index: 1;
}

spline-viewer {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

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

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero-description {
  margin-bottom: var(--space-xl);
  color: var(--text-tertiary);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.primary-btn {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 20px rgba(58, 134, 255, 0.3);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-btn::before,
.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  z-index: -1;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px);
}

.primary-btn:hover {
  box-shadow: 0 6px 25px rgba(58, 134, 255, 0.4);
}

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

.primary-btn:hover::before,
.secondary-btn:hover::before {
  transform: translateX(100%);
}

/* ===== About Section ===== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(58, 134, 255, 0.1) 0%,
    rgba(58, 134, 255, 0) 70%
  );
  z-index: -1;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
}

.about-left {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-xl);
  transition: transform 0.5s ease;
}

.about-image-container:hover {
  transform: translateY(-10px);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

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

.about-image-backdrop {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: var(--border-radius-full);
  background: var(--gradient-main);
  z-index: -1;
  opacity: 0.5;
  filter: blur(50px);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(58, 134, 255, 0.3);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.exp-number {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
}

.exp-text {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.2;
}

.about-social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  transform: translateY(-5px);
  color: var(--accent-primary);
  background-color: var(--bg-secondary);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-tabs {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-md);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  position: relative;
  outline: none;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.about-bio h3 {
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-xl);
}

.about-bio p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-md);
  line-height: 1.7;
}

.personal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.info-item {
  margin-bottom: var(--space-sm);
}

.info-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-right: var(--space-sm);
}

.info-value {
  color: var(--text-secondary);
}

.info-value.availability {
  color: #2ecc71;
}

.about-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.timeline {
  position: relative;
  margin-top: var(--space-lg);
  padding-left: var(--space-xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: calc(100% - 10px);
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(58, 134, 255, 0.7),
    rgba(58, 134, 255, 0.1)
  );
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.2);
}

.timeline-content {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  border-left: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(5px);
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-lg);
}

.timeline-content h5 {
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
}

.timeline-date {
  color: var(--text-tertiary);
  font-size: var(--font-size-xs);
  margin-bottom: var(--space-sm);
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: rgba(58, 134, 255, 0.1);
  border-radius: var(--border-radius-sm);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.stat-item {
  background-color: var(--bg-tertiary);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(58, 134, 255, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 134, 255, 0.3);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: var(--font-size-2xl);
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  z-index: 1;
}

.stat-number {
  .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: var(--space-xs);
    z-index: 1;
  }

  .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    z-index: 1;
  }
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ===== Skills Section ===== */
.skills-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(76, 0, 255, 0.1) 0%,
    rgba(76, 0, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.skills-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 204, 255, 0.1) 0%,
    rgba(0, 204, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

/* Tabs Navigation */
.skills-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.skill-tab-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid transparent;
  border-radius: var(--border-radius-full);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-main);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.skill-tab-btn:hover {
  color: var(--text-primary);
}

.skill-tab-btn:hover::after {
  width: 80%;
}

.skill-tab-btn.active {
  color: white;
  background: var(--gradient-main);
  box-shadow: 0 4px 15px rgba(76, 0, 255, 0.3);
  border-radius: var(--border-radius-full);
}

.skill-tab-btn.active::after {
  width: 0;
}

/* Tab Content */
.skills-content-wrapper {
  position: relative;
  z-index: 1;
}

.skills-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.skills-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Skills Overview */
.skills-overview {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  animation: fadeIn 0.8s ease;
}

.skills-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* Skill Category */
.skill-category {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(76, 0, 255, 0.2);
  border-color: rgba(76, 0, 255, 0.2);
}

.skill-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(76, 0, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.skill-category:hover::before {
  transform: translateX(100%);
}

/* Skill Category Header */
.skill-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.skill-icon-wrapper {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-full);
  background: var(--gradient-main);
  font-size: var(--font-size-xl);
  color: white;
  box-shadow: 0 5px 15px rgba(76, 0, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.skill-icon-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.4),
    transparent 60%
  );
}

.skill-category-header h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin: 0;
  position: relative;
  display: inline-block;
}

.skill-category-header h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
}

/* Skills List */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Skill Item */
.skill-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-color: rgba(76, 0, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Skill Info */
.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.skill-name {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-left: var(--space-sm);
}

.skill-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 70%;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
  transform: translateY(-50%);
}

/* Skill Tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.skill-tag {
  font-size: var(--font-size-sm);
  background: rgba(76, 0, 255, 0.1);
  color: var(--accent-primary);
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
}

.skill-item:hover .skill-tag {
  background: rgba(76, 0, 255, 0.15);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.tool-item {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

.tool-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 204, 255, 0.2);
}

.tool-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 204, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tool-item:hover::before {
  transform: translateX(100%);
}

.tool-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  color: white;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 204, 255, 0.3);
}

.tool-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.4),
    transparent 60%
  );
}

.tool-item h4 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  position: relative;
  display: inline-block;
}

.tool-item h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tool-item:hover h4::after {
  width: 60%;
}

.tool-item p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Soft Skills Container */
.soft-skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.soft-skill-category {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.soft-skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(131, 56, 236, 0.2);
}

.soft-skill-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(131, 56, 236, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.soft-skill-category:hover::before {
  transform: translateX(100%);
}

.soft-skill-category h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-sm);
}

.soft-skill-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-tertiary);
  border-radius: var(--border-radius-full);
}

.soft-skill-details {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.soft-skill-details li {
  padding: var(--space-sm) var(--space-md);
  position: relative;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.soft-skill-details li::before {
  content: "•";
  margin-right: var(--space-sm);
  color: var(--accent-tertiary);
  font-size: var(--font-size-lg);
}

.soft-skill-details li:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Skills Footer */
.skills-footer {
  margin-top: var(--space-3xl);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.skills-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(76, 0, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.skills-footer:hover::before {
  transform: translateX(100%);
}

.continuous-learning {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 70%;
}

.continuous-learning i {
  font-size: var(--font-size-2xl);
  color: var(--accent-primary);
  background: rgba(76, 0, 255, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.continuous-learning p {
  color: var(--text-secondary);
  font-size: var(--font-size-md);
  margin: 0;
}

.skills-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-main);
  color: white;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.skills-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transition: transform 0.5s ease;
  transform: rotate(0deg);
}

.skills-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(76, 0, 255, 0.3);
}

.skills-cta:hover::before {
  transform: rotate(180deg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .skills-tabs {
    flex-wrap: wrap;
  }

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

  .skills-footer {
    flex-direction: column;
    text-align: center;
  }

  .continuous-learning {
    max-width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

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

/* ===== Projects Section ===== */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

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

.project-card {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(58, 134, 255, 0.3);
}

.project-content {
  padding: var(--space-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.project-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  color: white;
}

.project-type {
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.project-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tech-badge {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
}

.project-links {
  display: flex;
  gap: var(--space-md);
}

.project-link {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
}

.project-link:hover {
  background-color: var(--accent-primary);
  color: white;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 134, 255, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: white;
  margin-bottom: var(--space-lg);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.3);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* ===== Achievements Section ===== */
.achievements-timeline {
  position: relative;
}

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

.achievement-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-3xl);
}

.achievement-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  box-shadow: 0 0 15px rgba(58, 134, 255, 0.4);
}

.achievement-content {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement-item:hover .achievement-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 134, 255, 0.3);
}

.achievement-date {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--accent-primary);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.achievement-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.achievement-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.achievement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.achievement-tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
}

/* ===== Contact Section ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.contact-info h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-lg);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.availability {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.status-badge {
  background-color: rgba(19, 206, 102, 0.15);
  color: #13ce66;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.status-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #13ce66;
  border-radius: 50%;
  margin-right: var(--space-sm);
}

.response-time {
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
}

.contact-method:hover {
  background-color: rgba(58, 134, 255, 0.1);
  transform: translateX(5px);
  color: var(--accent-primary);
}

.contact-method i {
  font-size: var(--font-size-xl);
  color: var(--accent-primary);
}

/* ===== Contact Form Container ===== */
.contact-form-container {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(76, 0, 255, 0.1);
  border-color: rgba(76, 0, 255, 0.1);
}

.contact-form-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(76, 0, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-form-container:hover::before {
  transform: translateX(100%);
}

/* Contact Form Header */
.contact-form-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.contact-form-header h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.contact-form-header h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  position: relative;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-primary);
  font-size: var(--font-size-md);
  pointer-events: none;
  transition: all 0.3s ease;
}

.textarea-icon i {
  top: 25px;
  transform: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 15px 15px 15px 45px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  transition: all 0.3s ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(76, 0, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.input-with-icon input:focus + i,
.input-with-icon select:focus + i,
.input-with-icon textarea:focus + i {
  color: #4c00ff;
}

.input-with-icon input::placeholder,
.input-with-icon select::placeholder,
.input-with-icon textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}

/* Select styling */
.input-with-icon select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236e7191' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 40px;
}

/* Textarea styling */
.input-with-icon textarea {
  min-height: 150px;
  resize: vertical;
}

/* Form Footer */
.form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 15px;
  background: var(--gradient-main);
  color: white;
  font-weight: 600;
  font-size: var(--font-size-md);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 0, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn i {
  font-size: var(--font-size-md);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 0, 255, 0.4);
}

.submit-btn:hover i {
  transform: translateX(3px);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 1;
}

.submit-btn:hover::before {
  transform: translateX(100%);
}

.submit-btn span {
  position: relative;
  z-index: 2;
}

/* Form Note */
.form-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  text-align: center;
  justify-content: center;
}

.form-note i {
  color: var(--accent-secondary);
  font-size: var(--font-size-sm);
}

/* Responsive styles */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-tertiary) 100%
  );
  padding: var(--space-3xl) 0 var(--space-md);
  margin-top: var(--space-3xl);
  overflow: hidden;
}

/* Footer Waves */
.footer-waves {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-waves svg {
  width: 100%;
  height: 80px;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

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

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-md);
}

.footer-bio {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  max-width: 400px;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(76, 0, 255, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover i {
  color: white;
}

/* Footer Nav, Services, Contact */
.footer-nav,
.footer-expertise,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-nav h3,
.footer-expertise h3,
.footer-contact h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.footer-nav h3::after,
.footer-expertise h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: var(--border-radius-full);
}

.footer-nav ul,
.footer-expertise ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav li,
.footer-expertise li {
  position: relative;
  padding-left: var(--space-md);
}

.footer-nav li::before,
.footer-expertise li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: var(--font-size-sm);
}

.footer-nav a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
  display: inline-block;
}

.footer-expertise li {
  color: var(--text-secondary);
}

/* Footer Contact */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-contact-item i {
  width: 32px;
  height: 32px;
  background: rgba(76, 0, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: var(--font-size-sm);
}

.footer-contact-item span {
  color: var(--text-secondary);
}

.footer-contact-item:last-child i {
  background: rgba(0, 204, 102, 0.15);
  color: #00cc66;
  position: relative;
  overflow: visible;
}

.footer-contact-item:last-child i::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 204, 102, 0.15);
  z-index: -1;
  animation: pulse 2s infinite;
}

.footer-contact-item:last-child span {
  color: #00cc66;
  font-weight: 500;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Footer Divider */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  margin: var(--space-xl) 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-legal a {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

.footer-separator {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl) var(--space-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-bio {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav h3::after,
  .footer-expertise h3::after,
  .footer-contact h3::after {
    left: 0;
    transform: none;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-nav,
  .footer-expertise,
  .footer-contact {
    text-align: center;
  }

  .footer-nav h3,
  .footer-expertise h3,
  .footer-contact h3 {
    width: 100%;
    text-align: center;
  }

  .footer-nav h3::after,
  .footer-expertise h3::after,
  .footer-contact h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav li,
  .footer-expertise li {
    padding-left: 0;
  }

  .footer-nav li::before,
  .footer-expertise li::before {
    display: none;
  }

  .footer-contact-item {
    justify-content: center;
  }

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

/* 3D Animation for Hero Section */
#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-3d-container {
    margin-top: var(--space-2xl);
    height: 400px;
    min-width: 100%;
  }

  .about-wrapper,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-tertiary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease-in-out;
    z-index: 100;
  }

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

  .nav-links a {
    font-size: var(--font-size-lg);
  }

  .menu-toggle {
    display: flex;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-image-container {
    max-width: 350px;
    margin: 0 auto var(--space-xl);
  }

  .about-right {
    align-items: center;
  }

  .about-tabs {
    justify-content: center;
  }

  .personal-info {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

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

  .about-tabs {
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }

  .tab-btn {
    white-space: nowrap;
  }

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

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

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

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

  /* Add overlay when menu is active */
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.menu-open::after {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 576px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
  }

  #hero-3d-canvas {
    display: none;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .hero-3d-container {
    height: 300px;
    min-width: 100%;
  }

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

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .skills-tabs {
    flex-direction: column;
    align-items: center;
  }

  .skill-tab-btn {
    width: 100%;
    max-width: 250px;
  }

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

  .skills-footer {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .continuous-learning {
    flex-direction: column;
    max-width: 100%;
  }

  .about-image-container {
    max-width: 280px;
  }

  .about-bio {
    text-align: center;
    padding: 0 var(--space-md);
  }

  .about-bio h3 {
    text-align: center;
  }

  .about-tabs {
    gap: var(--space-sm);
  }

  .tab-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
  }

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

  .timeline-content {
    padding: var(--space-md);
  }

  .timeline-content h4 {
    font-size: var(--font-size-md);
  }

  .experience-badge {
    bottom: 10px;
    right: 10px;
    padding: var(--space-sm);
  }

  .exp-number {
    font-size: var(--font-size-xl);
  }

  .exp-text {
    font-size: var(--font-size-xxs);
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.fadeInLeft {
  animation: fadeInLeft 1s ease-out forwards;
}

.fadeInRight {
  animation: fadeInRight 1s ease-out forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Animation delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* ===== Cursor effect ===== */
.cursor-dot {
  width: 5px;
  height: 5px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease,
    border-color 0.3s ease;
}

/* Add these styles to main.js for hover effects
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline {
  width: 50px;
  height: 50px;
  border-color: var(--accent-secondary);
}
*/

/* Dark mode toggler */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.theme-toggle:hover {
  transform: rotate(45deg);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-primary), var(--accent-secondary));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--accent-tertiary), var(--accent-quaternary));
}

/* Form Message Styles */
.form-message {
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-align: center;
  animation: fadeInUp 0.3s ease forwards;
  position: relative;
}

.form-message.success {
  background: rgba(0, 204, 102, 0.1);
  color: #00cc66;
  border: 1px solid rgba(0, 204, 102, 0.3);
}

.form-message.error {
  background: rgba(255, 76, 76, 0.1);
  color: #ff4c4c;
  border: 1px solid rgba(255, 76, 76, 0.3);
}

.form-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
