/* CSS Custom Properties */
:root {
  /* Warm, golden gradients */
  --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  --secondary-gradient: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
  --accent-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --success-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  
  /* Warm background colors */
  --bg-primary: #FFFAF0;  /* Floral white */
  --bg-secondary: #FFF8DC;  /* Cornsilk */
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.98);
  
  /* Warm text colors */
  --text-primary: #2C1810;  /* Deep brown */
  --text-secondary: #5C4033;  /* Rich brown */
  --text-muted: #8B7355;  /* Warm gray */
  
  /* Warm borders */
  --border-subtle: rgba(218, 165, 32, 0.2);  /* Golden with low opacity */
  --border-bright: rgba(218, 165, 32, 0.4);  /* Golden with medium opacity */
  
  /* Warm shadows */
  --shadow-small: 0 4px 20px rgba(218, 165, 32, 0.05);
  --shadow-medium: 0 8px 30px rgba(218, 165, 32, 0.1);
  --shadow-large: 0 20px 60px rgba(218, 165, 32, 0.15);
  --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.2);
  
  /* Updated typography */
  --font-primary: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
  
  /* Keep existing spacing and radius variables */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6, .logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
}

/* Noise Texture */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

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

.loading-content {
  text-align: center;
}

.loading-logo {
  font-size: 4rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  animation: pulse 2s infinite;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin: var(--spacing-sm) auto;
}

.loading-progress {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: loading 2s infinite;
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--spacing-sm);
}

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

@keyframes loading {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(255, 250, 240, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-medium);
}

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

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-medium);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-medium);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-medium);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) var(--spacing-sm);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
}

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

.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(255, 165, 0, 0.4) 100%);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.4) 0%, rgba(255, 140, 0, 0.4) 100%);
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(255, 226, 89, 0.4) 0%, rgba(255, 167, 81, 0.4) 100%);
  bottom: 10%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  33% {
    transform: translateY(-20px) scale(1.1);
  }
  66% {
    transform: translateY(10px) scale(0.9);
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: #10b981;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.title-line {
  display: block;
}

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

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: var(--spacing-sm);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-primary);
  font-weight: 600;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(218, 165, 32, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(218, 165, 32, 0.1);
  border-color: rgba(218, 165, 32, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* About Section */
.about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.about-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.highlight {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.highlight i {
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.25rem;
}

.highlight h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.highlight p {
  color: var(--text-muted);
  line-height: 1.6;
}

.about-skills h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.skills-grid {
  display: grid;
  gap: var(--spacing-md);
}

.skill-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.skill-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--border-bright);
}

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

.skill-item span {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.skill-level {
  width: 80px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.skill-level::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  width: var(--level, 0%);
  transition: width 1s ease-out 0.5s;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--border-bright);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.service-features i {
  color: #10b981;
  font-size: 0.8rem;
}

/* Projects Section */
.projects {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.featured-project {
  margin-bottom: var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.project-info {
  padding: var(--spacing-xl);
}

.project-label {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--success-gradient);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.project-info h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.project-info p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.project-metrics {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-tech {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.tech-tag {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.project-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

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

.project-overlay i {
  font-size: 2rem;
  color: white;
}

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

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

/* Content Tabs */
.content-tabs {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.tab-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-medium);
  font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  justify-items: center;
}

.content-card {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

/* LinkedIn post specific styles */
.content-card.post-card {
  aspect-ratio: 9/16;  /* Standard vertical social media post ratio */
  height: 500px;  /* Fixed height for consistency */
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 320px;  /* Prevent posts from getting too wide */
}

.content-card.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;  /* Align to top for better visibility of content */
  padding: 0;
}

/* Logo specific styles - keep existing */
.content-card.logo-card {
  aspect-ratio: 1/1;
  padding: var(--spacing-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  height: 280px;  /* Fixed height to prevent oversizing */
  max-width: 280px;  /* Match height for perfect square */
  margin: 0 auto;  /* Center the cards */
  position: relative;
  overflow: hidden;
}

.content-card.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: var(--spacing-md);
  transition: transform var(--transition-medium);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  color: white;
  text-align: center;
}

.content-card:hover .card-overlay {
  transform: translateY(0);
}

.content-card:hover img {
  transform: scale(1.05);
}

.card-overlay h4 {
  color: white;
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
  font-weight: 600;
}

.card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

.card-metric {
  display: inline-block;
  padding: 2px var(--spacing-xs);
  background: var(--accent-gradient);
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Analytics Cards */
.analytics-card {
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.analytics-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.analytics-header i {
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.analytics-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border-bright), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-date {
  flex: 0 0 120px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.timeline-content {
  flex: 1;
  padding: var(--spacing-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  margin: 0 var(--spacing-md);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -16px;
  border-right-color: var(--border-subtle);
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -16px;
  border-left-color: var(--border-subtle);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.timeline-company {
  display: block;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

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

/* Form */
.form {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-sm);
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-medium);
  font-family: inherit;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group label {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  pointer-events: none;
  font-size: 1rem;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group select:valid + label,
.form-group textarea:valid + label {
  top: -8px;
  left: var(--spacing-xs);
  font-size: 0.8rem;
  color: #4facfe;
  background: var(--bg-primary);
  padding: 0 var(--spacing-xs);
}

.form-submit {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--spacing-md) 0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .about-content,
  .project-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .hero-stats {
    gap: var(--spacing-md);
  }
  
  .project-image {
    order: -1;
    height: 300px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 50px;
  }
  
  .timeline-item .timeline-content {
    text-align: left !important;
    margin-left: var(--spacing-sm);
    margin-right: 0;
  }
  
  .timeline-content::before {
    left: -16px !important;
    right: auto !important;
    border-right-color: var(--border-subtle) !important;
    border-left-color: transparent !important;
  }
  
  .timeline-date {
    flex: 0 0 100px;
    font-size: 0.9rem;
  }
  
  .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .content-card.logo-card {
    height: 250px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .project-metrics {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .content-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
  
  .timeline-item {
    padding-left: 30px;
  }
  
  .timeline-date {
    flex: 0 0 80px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  
  .header {
    padding: var(--spacing-sm) var(--spacing-sm);
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .content-card.post-card {
    height: 350px;
  }
  
  .content-card.logo-card {
    height: 200px;
    max-width: 200px;
  }
  
  .form {
    padding: var(--spacing-md);
  }
}
  