/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Light Theme */
  --primary-color: #10b981;
  --secondary-color: #059669;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-primary: #0f172a;
  --text-secondary: #6b7280;
  --text-inverse: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --bg-tertiary: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  --border-color: #e2e8f0;
  --card-bg: #f8fafc;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-height: 70px;
  --gradient-1: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-2: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-3: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-hero: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  /* Dark Theme */
  --primary-color: #10b981;
  --secondary-color: #059669;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #f87171;
  --text-primary: #f1f5f9;
  --text-secondary: #d1d5db;
  --text-inverse: #0f172a;
  --bg-primary: #0a0a0a;
  --bg-secondary: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  --bg-tertiary: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  --border-color: #27272a;
  --card-bg: rgba(26, 26, 26, 0.6);
  --navbar-bg: rgba(26, 26, 26, 0.95);
  --navbar-height: 70px;
  --gradient-1: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-2: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-3: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-hero: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .skill-category,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .project-card,
[data-theme="dark"] .contact-link {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.05);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" transform="rotate(-25)"><polygon points="12,2 22,20 12,17 2,20" fill="%2310b981" stroke="%23ffffff" stroke-width="1"/></svg>')
      12 12,
    auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom Cursors */
a,
button,
.cursor-pointer {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" transform="rotate(-25)"><polygon points="14,2 26,22 14,19 2,22" fill="%23f59e0b" stroke="%23ffffff" stroke-width="1.5"/></svg>')
      14 14,
    pointer;
}

.nav-link:hover,
.btn:hover,
.contact-link:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" transform="rotate(-25)"><polygon points="16,2 30,26 16,22 2,26" fill="%2310b981" stroke="%23ffffff" stroke-width="2"/><circle cx="16" cy="12" r="2" fill="%23ffffff"/></svg>')
      16 16,
    pointer;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1002;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

.nav-logo .logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 40px;
}

/* New Navbar Elements */

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-right: 1rem;
  height: 40px;
  box-sizing: border-box;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1003;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  height: 40px;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.theme-toggle i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(at 27% 37%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
    radial-gradient(at 97% 21%, rgba(20, 184, 166, 0.1) 0px, transparent 50%),
    radial-gradient(at 52% 99%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
    radial-gradient(at 10% 29%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 97% 96%, rgba(249, 115, 22, 0.1) 0px, transparent 50%);
  pointer-events: none;
}

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

.hero-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInLeft 1s ease-out;
}

.highlight {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.wave {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-20deg);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: slideInLeft 1s ease-out 0.4s both;
}

.btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 2px solid rgba(16, 185, 129, 0.2);
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #059669, #10b981);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Floating Card Animation */
.floating-card {
  animation: slideInRight 1s ease-out, float 6s ease-in-out infinite 1s;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.1s ease-out;
}

.floating-card:hover {
  animation-play-state: paused;
}

.interactive-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.code-snippet {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

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

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
}

.code-dots span:nth-child(2) {
  background: #f59e0b;
}

.code-dots span:nth-child(3) {
  background: #10b981;
}

.code-content {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.code-line {
  display: block;
  margin: 0.2rem 0;
}

.code-line:not(:first-child):not(:last-child) {
  margin-left: 1.5rem;
}

.keyword {
  color: #a855f7;
}
.variable {
  color: #3b82f6;
}
.property {
  color: #10b981;
}
.string {
  color: #f59e0b;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 6px;
  height: 40px;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 0;
}

.scroll-arrow::after {
  content: "";
  width: 1.5px;
  height: 1.5px;
  background: #10b981;
  border-radius: 50%;
  position: absolute;
  top: 8px;
}

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

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

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

/* Section Styles */
section {
  padding: 5rem 0;
}

/* Value Proposition Section */
.value-proposition {
  background: var(--bg-primary);
  position: relative;
}

.value-proposition::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.value-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.value-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.value-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.value-text .btn {
  margin-top: 2rem;
}

.project-showcase {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.showcase-dots {
  display: flex;
  gap: 0.5rem;
}

.showcase-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
}

.showcase-dots span:nth-child(2) {
  background: #f59e0b;
}

.showcase-dots span:nth-child(3) {
  background: #10b981;
}

.showcase-url {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: "Courier New", monospace;
}

.showcase-content {
  padding: 2rem;
}

.showcase-hero h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.showcase-hero p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.showcase-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.feature-item span {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.section-title {
  font-family: "Playfair Display", serif;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-title span,
.section-title .highlight-text {
  background: linear-gradient(to right, #10b981, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #10b981, #14b8a6);
  margin: 1rem auto 3rem;
  border-radius: 50px;
}

/* Services Section */
.services {
  background: var(--bg-secondary);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0) 0%, rgba(16, 185, 129, 0) 100%);
  transition: all 0.5s ease;
}

.service-card:hover::before {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.3);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

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

.service-benefits {
  position: relative;
  z-index: 10;
}

.service-benefits h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1rem;
}

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

.services-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

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

.services-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* About Section */
.about {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item i {
  font-size: 3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.highlight-item span {
  font-weight: 600;
  color: var(--text-primary);
}

/* Skills Section */
.skills {
  background: var(--bg-primary);
  position: relative;
}

.skills::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(16, 185, 129, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px, 6px 6px, 6px 6px;
  opacity: 0.8;
  pointer-events: none;
}

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

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.skill-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0) 0%, rgba(20, 184, 166, 0) 100%);
  transition: all 0.5s ease;
}

.skill-category:hover::before {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.3);
}

.skill-category h3 {
  font-family: "Playfair Display", serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

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

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 10;
}

.skill-item {
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.skill-item:hover {
  transform: scale(1.05);
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Process Section */
.process {
  background: var(--bg-primary);
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.process-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.process-timeline::before {
  display: none;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
  z-index: 3;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.process-step:nth-child(even) {
  flex-direction: row;
}

.step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  justify-content: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.step-number i {
  color: white;
  font-size: 1.2rem;
}

.step-number span {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-content {
  flex: 1;
  background: transparent;
  padding: 2.5rem;
  margin: 0 2rem;
  transition: all 0.3s ease;
}

.step-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.process-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Experience Section */
.experience {
  background: linear-gradient(
    135deg,
    var(--bg-secondary),
    rgba(16, 185, 129, 0.02)
  );
  position: relative;
}

.experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      90deg,
      rgba(16, 185, 129, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #10b981, #f59e0b);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
  margin-right: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: left;
  margin-left: 2rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 2rem 2rem 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  max-width: 400px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.2);
  overflow: hidden;
}

.timeline-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0) 0%, rgba(245, 158, 11, 0) 100%);
  transition: all 0.5s ease;
  pointer-events: none;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.4);
}

.timeline-content:hover::after {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(to bottom right, #10b981, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -49px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -49px;
}

.timeline-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 10;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

.timeline-content p:first-of-type {
  color: #10b981;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Projects Section */
.projects {
  background: var(--bg-primary);
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 1px 1px,
    rgba(16, 185, 129, 0.1) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Project Image Gallery */
.project-gallery {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
}

.gallery-container {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.2rem;
  gap: 1rem;
}

.gallery-placeholder i {
  font-size: 5rem;
  color: #10b981;
  opacity: 1;
}

.gallery-placeholder span {
  font-size: 1rem;
  opacity: 0.9;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 2;
}

.project-card:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.gallery-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator.active {
  background: #10b981;
  width: 24px;
  border-radius: 4px;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0) 0%, rgba(245, 158, 11, 0) 100%);
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.4);
}

.project-card:hover::before {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.project-header {
  padding: 2rem 2rem 1rem;
  position: relative;
  z-index: 10;
}

.project-header h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

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

.tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.project-content {
  padding: 0 2rem 2rem 2.5rem;
  position: relative;
  z-index: 10;
}

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

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Pilot Project Section */
.pilot-project {
  background: var(--bg-secondary);
  position: relative;
}

.pilot-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.pilot-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pilot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.pilot-left h3,
.pilot-right h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.pilot-left p,
.pilot-right p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pilot-investment,
.pilot-proof {
  margin-bottom: 2rem;
}

.pilot-investment h4,
.pilot-proof h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pilot-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pilot-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pilot-note-small {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.pilot-deliverables {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.deliverable-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

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

.deliverable-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.pilot-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.pilot-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pilot-availability {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Contact Section */
.contact {
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.05), transparent);
  pointer-events: none;
}

.contact .section-title {
  color: var(--text-primary);
}

.contact-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-intro {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  color: var(--text-secondary);
}

.contact-form {
  margin-bottom: 3rem;
}

.email-form {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.form-group input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
  color: var(--text-secondary);
}

.form-group button {
  padding: 1rem 2rem;
  border-radius: 50px;
  white-space: nowrap;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  text-overflow: ellipsis;
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0) 0%, rgba(20, 184, 166, 0) 100%);
  transition: all 0.5s ease;
}

.contact-link:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

.contact-link:hover::before {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.contact-link i {
  font-size: 1.75rem;
  color: #10b981;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-link:hover i {
  transform: scale(1.1);
  background: rgba(16, 185, 129, 0.2);
}

.contact-link span {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  z-index: 10;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-left h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

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

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
  .timeline {
    max-width: 600px;
  }

  .timeline::before {
    left: 50%;
  }

  .timeline-content {
    max-width: 280px;
  }

  .form-group {
    justify-content: center;
  }

  .form-group button {
    align-self: center;
  }

  .timeline-item:nth-child(even) .timeline-content::before {
    left: -19px;
  }

  .timeline-item:nth-child(odd) .timeline-content::before {
    right: -19px;
  }

  .project-gallery {
    height: 320px;
  }

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-cta span {
    display: inline;
  }

  .nav-cta {
    padding: 0.5rem 1rem;
    margin-right: 0rem;
    font-size: 0.8rem;
  }

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

  .value-text h2 {
    font-size: 2rem;
  }

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

  .process-timeline {
    padding-left: 0;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding-left: 0;
    text-align: center;
  }

  .process-step:nth-child(even) {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .step-number span {
    font-size: 0.8rem;
  }

  .step-content {
    margin: 0;
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    text-align: center;
  }

  .step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

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

  .form-group {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    max-width: 400px;
  }

  .form-group input {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
  }

  .form-group button {
    flex-shrink: 0;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

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

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .nav-menu {
    position: fixed;
    left: 0;
    top: var(--navbar-height);
    flex-direction: column;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    /* transition: all 0.3s ease; */
    box-shadow: var(--shadow);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
  }

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

  .theme-toggle {
    margin-left: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    height: 40px;
  }

  .theme-toggle span {
    display: none;
  }
  .hero-container {
    padding: 0 40px;
  }

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

  .hero-text {
    text-align: center;
  }

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

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

  .hero-buttons .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-align: center;
  }

  .about-highlights {
    flex-direction: column;
    gap: 2rem;
  }

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

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

  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
    margin-left: 3rem;
    margin-right: 0;
  }

  .timeline-item:nth-child(even) .timeline-content::before,
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -43px;
    right: auto;
  }

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

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

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

  /* Disable card hover movements on mobile */
  .skill-category:hover {
    transform: none;
  }

  .timeline-content:hover {
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }

  .highlight-item:hover {
    transform: none;
  }

  .contact-link:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  /* Keep text left aligned and reset padding on mobile */
  .timeline-content {
    text-align: left;
    padding: 2rem;
  }

  .skill-category {
    text-align: left;
    padding: 2rem;
  }

  .project-content {
    text-align: left;
    padding: 0 2rem 2rem;
  }

  /* Disable floating card animation on mobile */
  .floating-card {
    animation: none;
  }

  .floating-card:hover {
    animation: none;
  }

  .interactive-card {
    transform: none;
  }

  /* Keep code snippet text left-aligned */
  .code-snippet {
    text-align: left;
  }

  .code-content {
    text-align: left;
  }

  .project-gallery {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero-container {
    padding: 0 24px;
  }
  .hero-title {
    font-size: 3rem;
    line-height: 1.3;
    text-align: left;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: left;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .timeline-content {
    margin-left: 2rem;
  }

  .timeline-item:nth-child(even) .timeline-content::before,
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -33px;
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
