/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Root Variables */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 30%, 12%);
  --primary: hsl(215, 50%, 18%);
  --primary-foreground: hsl(210, 40%, 98%);
  --secondary: hsl(210, 25%, 93%);
  --accent: hsl(152, 60%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 25%, 93%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(214, 25%, 88%);
  --card: hsl(0, 0%, 100%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-soft: 0 4px 24px -4px rgba(33, 60, 91, 0.08);
  --shadow-elevated: 0 12px 40px -8px rgba(33, 60, 91, 0.12);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(215, 50%, 25%) 100%);
  color: var(--primary-foreground);
  overflow: hidden;
  margin-top: 80px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;


}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(52, 168, 121, 0.2);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(168, 55%, 38%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--background);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.team-card:hover {
  border-color: rgba(52, 168, 121, 0.5);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.team-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--muted);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: var(--muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: rgba(52, 168, 121, 0.05);
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 40px rgba(52, 168, 121, 0.2);
}

.btn-primary:hover {
  background: hsl(152, 60%, 38%);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(52, 168, 121, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations for team cards */
.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }
.team-card:nth-child(9) { animation-delay: 0.9s; }

/* Responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 8rem 0 4rem;
  }
  
  .team-section {
    padding: 3rem 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .team-content {
    padding: 1.25rem;
  }
  
  .team-name {
    font-size: 1.125rem;
  }
}