/* Base styles */
:root {
  --primary-color: #8b5cf6;
  --secondary-color: #3b82f6;
  --gradient-start: #8b5cf6;
  --gradient-mid: #a855f7;
  --gradient-end: #3b82f6;
  --light-bg: #f5edff;
  --dark-text: #1f2937;
  --medium-text: #4b5563;
  --light-text: #9ca3af;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Utility classes */
.gradient-text {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-bg {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.gradient-button {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gradient-button:hover {
  background: linear-gradient(to right, #7c4bd6, #2d6cda);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Questrial', sans-serif;
}

/* Header styles */
header {
  transition: all 0.3s ease;
}

/* Testimonials */
.testimonials-container {
  display: flex;
  gap: 2rem;
  animation: scroll 60s linear infinite;
  width: max-content;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: #ec4899;
  margin-bottom: 1rem;
}

.testimonial-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: #4b5563;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #1f2937;
}

.testimonial-company {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Competences section */
.gradient-defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Form styles */
form input, form textarea, form select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .testimonials-container {
    animation: scroll 30s linear infinite;
  }
  
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .testimonial-card {
    min-width: 240px;
    max-width: 240px;
    padding: 1rem;
  }
}