/* ========================================
   Global Styles & Variables
   ======================================== */

:root {
  /* Color Palette - Professional B2B (Green Theme) */
  --primary-color: #09cc94;
  --primary-dark: #007e68;
  --primary-light: #0fbf8c;
  --secondary-color: #64748b;
  --accent-color: #0dd4a0;
  
  /* Grays */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Background */
  --bg-primary: #000000;
  --bg-secondary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.8);
  --bg-card-hover: rgba(51, 65, 85, 0.9);
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-max-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);
}

/* ========================================
   Reset & Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  width: 100%;
}

/* Modern Clean Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 80px,
      rgba(9, 204, 148, 0.03) 80px,
      rgba(9, 204, 148, 0.03) 82px
    );
  z-index: 1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Particle Canvas Background */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* ========================================
   Container & Layout
   ======================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  overflow-x: hidden;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon .bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.menu-icon.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.menu-icon.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  background: var(--bg-secondary);
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 204, 148, 0.1);
  border: 1px solid rgba(9, 204, 148, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.hero-badge i {
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 20px rgba(9, 204, 148, 0.3);
  transition: all 0.4s;
}

.stat-item:hover .stat-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 30px rgba(9, 204, 148, 0.5);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: var(--primary-color);
  background: rgba(9, 204, 148, 0.05);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--text-secondary);
  font-size: 2rem;
  transition: color var(--transition-fast);
}

.scroll-indicator a:hover {
  color: var(--primary-color);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--gray-600);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--primary-color);
  color: var(--text-primary);
}

.btn-details {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-details:hover {
  background: var(--primary-color);
  color: white;
}

/* ========================================
   Services Section
   ======================================== */

.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(9, 204, 148, 0.1);
  border-radius: 16px;
  padding: 2rem 2rem 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(9, 204, 148, 0.2), 0 0 0 1px rgba(9, 204, 148, 0.3);
  border-color: rgba(9, 204, 148, 0.3);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
}

.service-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-intro {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-list i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ========================================
   Projects Section
   ======================================== */

.projects {
  background: var(--bg-secondary);
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.875rem 2rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.tab-button:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.tab-button.active {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-year {
  margin: 3rem 0 2rem 0;
  padding-left: 80px;
}

.year-label {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  z-index: 1;
}

.timeline-marker.current {
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  animation: pulse 2s infinite;
}

.timeline-marker.completed {
  background: var(--gray-600);
}

.timeline-content {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  transform: translateX(8px);
  border-color: var(--primary-color);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.timeline-header h3 {
  flex: 1;
  font-size: 1.25rem;
  margin: 0;
}

.project-status {
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.project-status.current {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
  border: 1px solid var(--primary-color);
}

.project-status.completed {
  background: rgba(100, 116, 139, 0.2);
  color: var(--gray-400);
  border: 1px solid var(--gray-600);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.timeline-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-meta i {
  color: var(--primary-color);
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-details {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.3s ease;
}

.project-details.active {
  display: block;
}

.project-details h4 {
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.project-details ul {
  list-style: none;
  padding-left: 0;
}

.project-details li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ========================================
   About Section
   ======================================== */

.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.about-text h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.about-intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-experience {
  margin-top: 2.5rem;
}

.about-experience h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.tag:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Career Timeline */
.career-section {
  margin-top: 4rem;
}

.career-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.career-timeline {
  position: relative;
  padding-left: 60px;
}

.career-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.career-item {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 2rem;
}

.career-icon {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 1;
}

.career-content {
  flex: 1;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.career-content:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  transform: translateX(8px);
}

.career-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.career-period {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.career-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Skills Section
   ======================================== */

.skills {
  background: var(--bg-secondary);
}

.skills-content {
  display: grid;
  gap: 3rem;
}

.skill-category {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-normal);
}

.skill-category:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
}

.skill-category h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.category-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Skill Bars */
.skill-bars {
  display: grid;
  gap: 1.5rem;
}

.skill-bar {
  display: grid;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-name i {
  color: var(--primary-color);
}

.skill-percentage {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  transition: width 1s ease;
}

/* Skill Badges */
.skill-badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.skill-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateX(4px);
}

.skill-badge:hover::before {
  opacity: 1;
}

.skill-badge i {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.skill-badge span {
  flex: 1;
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 0;
}

.badge-level {
  padding: 0.375rem 0.875rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.skill-badge.primary .badge-level {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}

.skill-badge.secondary .badge-level {
  background: rgba(100, 116, 139, 0.2);
  color: var(--gray-400);
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag-tech {
  background: rgba(9, 204, 148, 0.15);
  color: var(--primary-color);
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(9, 204, 148, 0.3);
}

.btn-details-link {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  margin-top: 1rem;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
  outline: none;
  font-weight: normal;
}

.btn-details-link:hover {
  background: var(--primary-color) !important;
  color: white !important;
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 204, 148, 0.3);
}

.btn-details-link:active,
.btn-details-link:focus {
  outline: none;
  border-color: var(--primary-light);
}

.btn-details-link i {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.btn-details-link:hover i {
  transform: scale(1.1);
}

/* ========================================
   References Section
   ======================================== */

.references {
  background: var(--bg-secondary);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.reference-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.reference-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.reference-card blockquote {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 1.5rem 0 2rem;
  font-style: italic;
}

.reference-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.author-info p {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.contact-method:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-color);
  transform: translateX(8px);
}

.method-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.method-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.method-info p {
  color: var(--text-secondary);
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  transform: translateY(-4px);
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: inherit;
}

.contact-form .btn-primary {
  justify-self: start;
  margin-top: 1rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  width: 100%;
  overflow: visible;
}

.footer-brand img {
  width: 60px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 0;
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--primary-color);
}

.footer-social .social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ========================================
   Modal
   ======================================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-content h2 {
  padding: 2rem 2rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal-body h4 {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    max-width: 300px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-image {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    width: 100%;
    overflow: visible;
  }
  
  .footer-brand {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .menu-icon {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    gap: 0;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero {
    padding-top: 100px;
    min-height: auto;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .hero-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .typing-text {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .feature-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon-badge {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .service-title {
    font-size: 1.5rem;
    margin-top: -4rem;
  }
  
  .service-intro {
    font-size: 0.95rem;
  }
  
  .service-list {
    font-size: 0.9rem;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-marker {
    left: 5px;
  }
  
  .year-label {
    font-size: 1.5rem;
  }
  
  .about-image img {
    max-width: 200px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-text {
    padding: 0;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .about-text p {
    font-size: 0.95rem;
  }
  
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .industry-card {
    padding: 1.5rem 1rem;
  }
  
  .industry-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  
  .solution-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
  }
  
  .solution-tag {
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
  }
  
  .career-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .references-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reference-card {
    padding: 1.5rem;
  }
  
  .reference-card blockquote {
    font-size: 0.9rem;
  }
  
  .timeline-header h3 {
    font-size: 1.1rem;
  }
  
  .timeline-meta {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
  
  .timeline-description {
    font-size: 0.9rem;
  }
  
  .career-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .career-card {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
  }
  
  .career-year {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  
  .career-card-icon {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .career-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }
  
  .career-company {
    font-size: 0.9rem;
  }
  
  .career-card > p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .career-tags {
    gap: 0.4rem;
  }
  
  .career-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
  
  .skill-badges {
    grid-template-columns: 1fr;
  }
  
  /* Footer Mobile komplett neu strukturiert */
  .footer {
    padding: 2rem 0 1rem;
    overflow: visible;
  }
  
  .footer .container {
    overflow: visible;
  }
  
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  
  .footer-brand,
  .footer-links,
  .footer-legal,
  .footer-social {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-brand img {
    width: 50px;
    margin: 0 auto 0.75rem;
    display: block;
  }
  
  .footer-brand p {
    font-size: 0.9rem;
  }
  
  .footer-links h4,
  .footer-legal h4,
  .footer-social h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-links ul,
  .footer-legal ul {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .footer-links li,
  .footer-legal li {
    margin-bottom: 0.5rem;
    width: 100%;
    display: block;
  }
  
  .footer-links a,
  .footer-legal a {
    font-size: 0.9rem;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .footer-social .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
    overflow-x: visible;
  }
  
  h1 { font-size: 1.75rem; }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .typing-text {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .feature-item {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon-badge {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .service-title {
    font-size: 1.3rem;
    margin-top: -4rem;
  }
  
  .service-intro {
    font-size: 0.9rem;
  }
  
  .service-list li {
    font-size: 0.85rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.25rem;
  }
  
  .footer-links h4,
  .footer-legal h4,
  .footer-social h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-links li,
  .footer-legal li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links a,
  .footer-legal a {
    font-size: 0.9rem;
  }
  
  .industry-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-card h5 {
    font-size: 1rem;
  }
  
  .solution-tag {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .career-card {
    padding: 1.25rem 1rem;
  }
  
  .career-year {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }
  
  .career-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .career-card h4 {
    font-size: 1.05rem;
  }
  
  .career-company {
    font-size: 0.85rem;
  }
  
  .career-card > p {
    font-size: 0.85rem;
  }
  
  .career-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
  
  .timeline-content {
    padding: 1.25rem;
  }
  
  .timeline-header h3 {
    font-size: 1.1rem;
  }
  
  .timeline-meta {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
  
  .timeline-description {
    font-size: 0.9rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .modal-content h2,
  .modal-body {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   MODERN ENHANCEMENTS
   ======================================== */

/* Typing Animation for Hero */
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.typing-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cursor {
  color: var(--primary-color);
  font-weight: 300;
  /* No blink animation */
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Modern Industry Cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.industry-card {
  background: linear-gradient(135deg, rgba(9, 204, 148, 0.05) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(9, 204, 148, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(9, 204, 148, 0.1), transparent);
  transition: left 0.5s;
}

.industry-card:hover::before {
  left: 100%;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(9, 204, 148, 0.2), 0 0 0 1px rgba(9, 204, 148, 0.3);
}

.industry-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  position: relative;
  transition: all 0.4s;
}

.industry-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.industry-card:hover .industry-icon::before {
  opacity: 1;
}

.industry-icon.pharma { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); color: white; }
.industry-icon.plastic { background: linear-gradient(135deg, #10b981 0%, #047857 100%); color: white; }
.industry-icon.machine { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.industry-icon.retail { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; }
.industry-icon.healthcare { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); color: white; }
.industry-icon.sensor { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); color: white; }

.industry-card h5 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modern Career Cards */
.career-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.solution-card {
  background: linear-gradient(135deg, rgba(9, 204, 148, 0.08) 0%, rgba(9, 204, 148, 0.03) 100%);
  border: 2px solid rgba(9, 204, 148, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 204, 148, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(9, 204, 148, 0.2);
}

.solution-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.solution-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

.solution-card h5 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px rgba(9, 204, 148, 0.15);
}

.career-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.career-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  position: relative;
  transition: all 0.4s;
}

.career-card:hover .career-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.career-card-icon.freelance { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); color: white; }
.career-card-icon.engineer { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); color: white; }
.career-card-icon.admin { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.career-card-icon.education { background: linear-gradient(135deg, #10b981 0%, #047857 100%); color: white; }

.career-card h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.career-company {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.career-card > p:not(.career-company) {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-tag {
  background: rgba(9, 204, 148, 0.1);
  color: var(--primary-color);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(9, 204, 148, 0.2);
}

/* Modern Circular Skills */
.skill-bars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.skill-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skill-circle {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.skill-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.skill-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 10;
}

.skill-circle-progress {
  fill: none;
  stroke: url(#skillGradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-circle.animate .skill-circle-progress {
  stroke-dashoffset: var(--progress);
}

.skill-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.skill-name {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.05rem;
}

/* Branch Solutions as Modern Tags */
.about-solutions {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(9, 204, 148, 0.15);
  grid-column: 1 / -1;
}

.about-solutions h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.3rem;
}

.solution-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.solution-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(9, 204, 148, 0.12) 0%, rgba(9, 204, 148, 0.06) 100%);
  border: 2px solid rgba(9, 204, 148, 0.25);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 60px;
}

.solution-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(9, 204, 148, 0.2), transparent);
  transition: left 0.5s;
}

.solution-tag:hover::before {
  left: 100%;
}

.solution-tag:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(9, 204, 148, 0.2) 0%, rgba(9, 204, 148, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(9, 204, 148, 0.25);
  color: var(--primary-color);
}

.solution-tag i {
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.solution-tag:hover i {
  transform: rotate(20deg) scale(1.2);
}

/* Service Cards with Icon Badges */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0;
  font-size: 2.5rem;
  color: white;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), var(--primary-light));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover .service-icon-badge {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 40px rgba(9, 204, 148, 0.4);
}

.service-icon-badge.programming {
  background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
}

.service-icon-badge.analysis {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.service-icon-badge.project {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.service-icon {
  margin: 0;
  padding: 0;
  transition: transform 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.lottie-container {
  filter: drop-shadow(0 5px 15px rgba(9, 204, 148, 0.3));
  transition: filter 0.4s;
}

.service-card:hover .lottie-container {
  filter: drop-shadow(0 8px 25px rgba(9, 204, 148, 0.5));
}

/* Enhanced Circular Skills with Glow */
.skill-circle {
  filter: drop-shadow(0 0 0 transparent);
  transition: filter 0.4s;
}

.skill-bar:hover .skill-circle {
  filter: drop-shadow(0 0 20px rgba(9, 204, 148, 0.6));
}

.skill-circle svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.skill-percentage {
  text-shadow: 0 0 20px rgba(9, 204, 148, 0.5);
  transition: all 0.4s;
}

.skill-bar:hover .skill-percentage {
  text-shadow: 0 0 30px rgba(9, 204, 148, 0.8);
}

.skill-name {
  transition: color 0.3s;
}

.skill-bar:hover .skill-name {
  color: var(--primary-color);
}

/* Animated gradient for skill circles */
@keyframes rotateGradient {
  0% { transform: rotate(-90deg); }
  100% { transform: rotate(270deg); }
}

.skill-circle.animate svg {
  animation: rotateGradient 2s ease-in-out;
}

/* Responsive Modern Elements */
@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .industry-card {
    padding: 1.5rem 1rem;
  }
  
  .industry-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .career-modern {
    grid-template-columns: 1fr;
  }
  
  .solution-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .solution-tag {
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
  }
  
  .service-icon-badge {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .skill-bars {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
  }
  
  .skill-circle {
    width: 120px;
    height: 120px;
  }
  
  .skill-percentage {
    font-size: 1.5rem;
  }
  
  .typing-text {
    font-size: 1.75rem;
  }
}

/* ========================================
   Project Detail Modal
   ======================================== */

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.project-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.project-modal-content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  border: 1px solid rgba(9, 204, 148, 0.3);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10001;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.project-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(9, 204, 148, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-close:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: rotate(90deg);
}

.project-modal-body {
  width: 100%;
  height: 90vh;
  max-height: 90vh;
  overflow-y: auto;
  padding: 80px 60px 60px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.project-modal-body::-webkit-scrollbar {
  width: 10px;
}

.project-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.project-modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.project-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.project-modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--primary-color);
}

.project-modal-loading i {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.project-modal-loading p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Projekt-Detail-Content innerhalb des Modals */
.project-modal-body .project-detail {
  padding: 0;
  background: transparent;
  min-height: auto;
}

.project-modal-body .container {
  max-width: 100%;
  padding: 0;
}

.project-modal-body .back-button {
  display: none;
}

.project-modal-body h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 40px;
  line-height: 1.2;
}

.project-modal-body .project-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.project-modal-body .info-item {
  background: rgba(9, 204, 148, 0.05);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(9, 204, 148, 0.2);
  transition: all 0.3s ease;
}

.project-modal-body .info-item:hover {
  background: rgba(9, 204, 148, 0.1);
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(9, 204, 148, 0.2);
}

.project-modal-body .info-item i {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.project-modal-body .info-item strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.project-modal-body .info-item span {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.4;
}

.project-modal-body .project-description {
  background: rgba(9, 204, 148, 0.05);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(9, 204, 148, 0.2);
  margin-top: 40px;
}

.project-modal-body .project-description h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(9, 204, 148, 0.3);
}

.project-modal-body .project-description p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-modal-body .project-description p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-modal-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  
  .project-modal-close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  
  .project-modal-body {
    padding: 70px 25px 40px;
    height: 100%;
    max-height: 100%;
  }
  
  .project-modal-body h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .project-modal-body .project-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .project-modal-body .info-item {
    padding: 15px;
  }
  
  .project-modal-body .info-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .project-modal-body .project-description {
    padding: 25px 20px;
    margin-top: 30px;
  }
  
  .project-modal-body .project-description h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .project-modal-body .project-description p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .project-modal-body h1 {
    font-size: 1.5rem;
  }
  
  .project-modal-body .project-info {
    gap: 12px;
  }
  
  .project-modal-body .project-description {
    padding: 20px 15px;
  }
}
