/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Modern CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Flexbox layout for sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* CSS Custom Properties for Theme */
:root {
  /* Primary Colors - Professional Tech Palette */
  --primary-blue: #0f172a;
  --primary-blue-light: #1e293b;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  /* Neutral Colors */
  --white: #ffffff;
  --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;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  --gradient-secondary: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  --gradient-dark: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-700);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-family: var(--font-mono);
  position: relative;
}

/* Logo image styling */
.logo-img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.logo-placeholder {
  width: 180px;
  height: 60px;
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.logo-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

nav li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover {
  color: var(--accent-blue);
  background: var(--gray-50);
}

nav a:hover::before,
nav a.active::before {
  width: 80%;
}

nav a.active {
  color: var(--accent-blue);
  background: var(--gray-50);
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: var(--space-xl) auto;
  padding: 0 var(--space-xl);
  width: 100%;
}

/* Footer Styles */
footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
  position: relative;
  width: 100%;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h20v20h20v-20h20v-20h-20v-20h-20v20h-20z" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  gap: var(--space-xl);
}

.footer-section {
  flex: 1;
  min-width: 220px;
  margin-bottom: var(--space-xl);
}

.footer-section h3 {
  margin-bottom: var(--space-lg);
  color: var(--accent-blue);
  font-size: 1.25rem;
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-section a:hover {
  color: var(--white);
  padding-left: var(--space-sm);
}

.social-links {
  display: flex;
  gap: var(--space-lg);
}

.social-links a {
  display: flex;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }
  
  .site-header {
    padding: var(--space-md) var(--space-lg);
  }
  
  main {
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.25rem;
    --space-2xl: 1.5rem;
    --space-3xl: 2rem;
  }
  
  .site-header {
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo-placeholder {
    width: 150px;
    height: 50px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }
  
  main {
    padding: 0 var(--space-lg);
    margin: var(--space-lg) auto;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-section {
    min-width: auto;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1rem;
    --space-2xl: 1.25rem;
  }
  
  .site-header {
    padding: var(--space-md);
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  main {
    padding: 0 var(--space-md);
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  header,
  footer {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gray-200: #000;
    --gray-300: #000;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .logo-placeholder::before {
    animation: none;
  }
}/* Reusable Components CSS */

/* Section Styles */
section {
  margin-bottom: var(--space-2xl);
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.3s ease;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

section h2 {
  color: var(--primary-blue);
  margin-bottom: var(--space-xl);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  position: relative;
  padding-bottom: var(--space-md);
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

section h3 {
  color: var(--gray-800);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  position: relative;
}

section p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

section ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

section li {
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  position: relative;
}

section li::marker {
  color: var(--accent-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-100) 100%);
  color: var(--gray-800);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(59,130,246,0.1)"/><path d="M0 10h20M10 0v20" stroke="rgba(59,130,246,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/></svg>');
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-10px, -10px) scale(1.02); }
  66% { transform: translate(10px, -5px) scale(0.98); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
  font-weight: 700;
  position: relative;
  z-index: 1;
  color: var(--gray-900);
  line-height: 1.2;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  opacity: 0.3;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  color: var(--gray-600);
  position: relative;
  z-index: 1;
  line-height: 1.7;
  font-weight: 400;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--white);
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Secondary CTA Button */
.cta-button.secondary {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Team leader headshot styling */
.leader-headshot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.leader-card:hover .leader-headshot {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Contact Form */
form div {
  margin-bottom: var(--space-xl);
}

form label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

form input,
form textarea {
  width: 100%;
  padding: var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

form button {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  text-align: center;
  margin: var(--space-2xl) 0;
  color: var(--gray-800);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(59,130,246,0.1)"/><path d="M0 15h30M15 0v30" stroke="rgba(16,185,129,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
  opacity: 0.6;
}

.newsletter::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  animation: newsletter-pulse 8s ease-in-out infinite;
}

@keyframes newsletter-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.08; }
  50% { transform: scale(1.1) rotate(180deg); opacity: 0.12; }
}

.newsletter h3 {
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.newsletter h3 .highlight-newsletter {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: var(--space-sm);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-lg);
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--gray-700);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--gray-400);
}

.newsletter-form input:focus {
  background: var(--gray-50);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--white);
  border: none;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

.newsletter-form button:hover::before {
  left: 100%;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
}

.newsletter-form button:active {
  transform: translateY(0);
}

/* Responsive adjustments for components */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-2xl) var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  section {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .newsletter-form input {
    border: 2px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
  }
  
  section {
    padding: var(--space-lg);
  }
}