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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #ec4899;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.nav {
  padding: 1.25rem 0;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-menu a:not(.btn-primary):hover {
  color: var(--primary);
}

.nav-menu a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:not(.btn-primary):hover::after {
  width: 100%;
}

/* Hamburger - Hidden on Desktop */
.hamburger {
  display: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  transition: left 0.5s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.3);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 1rem;
}

/* Hero Section with Gradient Animation */
.hero {
  background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

/* Floating animation for hero buttons */
.hero-cta .btn-primary {
  animation: float 3s ease-in-out infinite;
}

.hero-cta .btn-secondary {
  animation: float 3s ease-in-out infinite 0.5s;
}

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

/* Services Section */
.services-preview {
  padding: 7rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}

.services-preview h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 4rem;
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Portfolio Section with Slider */
.portfolio-preview {
  padding: 7rem 0;
  background: var(--dark);
  color: #fff;
}

.portfolio-preview h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
}

.portfolio-preview .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Before/After Slider */
.portfolio-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 4rem;
}

.portfolio-item {
  background: var(--dark-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.before-after {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.before, .after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before {
  z-index: 1;
}

.after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider-handle::before {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
}

.badge-before,
.badge-after {
  position: absolute;
  top: 2rem;
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  transition: opacity 0.3s;
}

.badge-before {
  left: 2rem;
  background: rgba(239, 68, 68, 0.9);
}

.badge-after {
  right: 2rem;
  background: rgba(34, 197, 94, 0.9);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
}

.placeholder-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
}

.portfolio-item h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.portfolio-item p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 1.125rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  padding: 7rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Portfolio Page Styles */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.portfolio-grid-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}

.portfolio-project {
  margin-bottom: 8rem;
  background: #fff;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

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

.project-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
}

.project-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.project-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-image.legacy {
  border: 3px solid #ef4444;
}

.project-image.modern {
  border: 3px solid #10b981;
}

.image-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 10;
}

.project-image.legacy .image-label {
  background: rgba(239, 68, 68, 0.9);
}

.project-image.modern .image-label {
  background: rgba(16, 185, 129, 0.9);
}

.placeholder-demo {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-details {
  margin-top: 3rem;
}

.project-details > p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 2rem;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.project-stats .stat {
  text-align: center;
}

.project-stats .stat h4 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.project-stats .stat p {
  color: var(--gray);
  font-size: 1rem;
}

.project-tech {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  color: var(--dark);
  font-size: 1rem;
}

.project-tech strong {
  color: var(--primary);
}

/* Services Page Styles */
.services-detailed {
  padding: 6rem 0;
  background: #fff;
}

.service-detail {
  margin-bottom: 6rem;
  padding-bottom: 4rem;
  border-bottom: 2px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.service-detail h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-intro {
  font-size: 1.25rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-features {
  margin: 2rem 0;
}

.service-features h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.service-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
  line-height: 1.7;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li strong {
  color: var(--primary);
  font-weight: 600;
}

.service-tech-stack {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
}

.service-tech-stack strong {
  color: var(--dark);
  font-size: 1.125rem;
  display: block;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tags span {
  background: #fff;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.tech-tags span:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.process-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0;
  color: #fff;
  text-align: center;
}

.process-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  opacity: 0.9;
  line-height: 1.6;
}

/* About Page Styles */
.about-story {
  padding: 6rem 0;
  background: #fff;
}

.story-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2rem;
}

.story-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.mission-section {
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  padding: 6rem 0;
}

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

.mission-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.mission-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray);
}

.mission-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.mission-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.mission-card li:last-child {
  border-bottom: none;
}

.why-us-section {
  padding: 6rem 0;
  background: #fff;
}

.why-us-section h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.why-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.why-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--gray);
  line-height: 1.7;
}

.team-section {
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  padding: 6rem 0;
}

.team-section h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.expertise-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

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

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.expertise-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.clients-section {
  padding: 6rem 0;
  background: #fff;
  text-align: center;
}

.clients-section h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.industry-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.industry-tag:hover {
  transform: scale(1.05);
}

/* Contact Page Styles */
.contact-section {
  padding: 6rem 0;
  background: #fff;
}

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

.contact-form-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-form-container > p {
  color: var(--gray);
  margin-bottom: 2rem;
}

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

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

.form-group label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
}

.form-message {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(99, 102, 241, 0.05);
}

.method-icon {
  font-size: 2.5rem;
}

.method-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.method-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.method-content a:hover {
  color: var(--primary-dark);
}

.method-content p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.faq-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
}

.faq-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item strong {
  display: block;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

.trust-indicators {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.trust-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.trust-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.trust-item p {
  opacity: 0.9;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .services-preview h2,
  .portfolio-preview h2,
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .before-after-container {
    height: 300px;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .project-image-grid {
    grid-template-columns: 1fr;
  }
  
  .placeholder-demo {
    min-height: 300px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* Mobile Navigation */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.3s forwards;
  }
  
  .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
  .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
  
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.25rem;
  }
}

/* Smooth animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
