/* Import a modern, professional font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Typography */
h1, h2, h3 {
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h1 .highlight {
  font-size: 3.75rem;
  font-weight: 800;
  color: #4F46E5;
  display: block;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 20px;
}

/* Enhanced Links */
a {
  color: #4F46E5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #3730a3;
}

/* Navbar Enhancement */
header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
  backdrop-filter: blur(5px);
}

nav {
  padding: 7.5px 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: #333;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: rgba(79, 70, 229, 0.1);
}

.logo {
    margin-top: 10px;
  width: 155px;
  transition: transform 0.3s ease;
}

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

/* Enhanced Hero Section */
.hero {
  /* background: linear-gradient(135deg, #f6f8ff 0%, #f1f4ff 100%); */
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%); */
  background-color: white;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #4b5563;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-primary, .cta-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-primary {
  background: #4F46E5;
  color: white;
}

.cta-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.cta-secondary {
  background: white;
  color: #4F46E5;
  border: 2px solid #4F46E5;
}

.cta-secondary:hover {
  background: #4F46E5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.hero-image {
  margin-top: 60px;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 25px 30px -5px rgba(0,0,0,0.2), 0 15px 15px -5px rgba(0,0,0,0.08);
}

/* Enhanced Backed By Section */
.backed-by {
  padding: 60px 0;
  text-align: center;
  background: white;
}

.backed-by img {
  width: 180px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.backed-by img:hover {
  opacity: 1;
}

/* Enhanced Features Section */
.features {
  background: white;
  padding: 100px 0;
}

.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  color: #1f2937;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
  max-width: 1100px;
}

.feature {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature:hover .icon {
  transform: scale(1.1);
}

.blue { background: #BFDBFE; color: #1E40AF; }
.orange { background: #FED7AA; color: #9A3412; }
.green { background: #BAE6FD; color: #0C4A6E; }
.purple { background: #E9D5FF; color: #6B21A8; }
.teal { background: #A7F3D0; color: #065F46; }
.navy { background: #93C5FD; color: #1E3A8A; }

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.feature p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 0;
}

/* Enhanced CTA Section */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #4F46E5 0%, #3730a3 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

.cta h2 {
  max-width: 600px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.cta .highlight {
  /* color: #A5B4FC; */
  font-weight: bolder;
}

.cta p {
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #4F46E5;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.cta-button img {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.cta-button:hover img {
  transform: translateX(5px);
}

/* Enhanced Team Section */
.team {
  background: #f8fafc;
  padding: 100px 0;
}

.team-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  /* border: 4px solid #4F46E5; */
  transition: transform 0.3s ease;
}

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

.team-member h3 {
  margin-bottom: 10px;
  color: #1f2937;
}

.team-member .title {
  font-size: 1.25rem;
  color: #4F46E5;
  margin-bottom: 20px;
}

.team-member p {
  max-width: 400px;
  margin: 0 auto 20px;
  color: #4b5563;
}

.linkedin img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.linkedin:hover img {
  transform: scale(1.1);
}

/* Enhanced Contact Section */
.contact {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  padding: 100px 0;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.method {
  text-align: center;
}

.method .icon {
  width: 70px;
  height: 70px;
  background: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.method:hover .icon {
  transform: scale(1.1);
}

.method .icon img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

.method h3 {
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 1.25rem;
}

.link {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  color: #4F46E5;
  transition: color 0.3s ease;
}

.link:hover {
  color: #3730a3;
}

/* Enhanced Footer */
footer {
  text-align: center;
  padding: 18px 0;
  background: #1f2937;
  color: #9CA3AF;
}

footer .container p {
  margin-bottom: 0;
}

/* Mobile menu toggle (only visible on small screens) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Media Queries */
@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h1 .highlight { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .subtitle { font-size: 1.25rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-methods { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h1 .highlight { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .subtitle { font-size: 1.125rem; }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .cta-primary, .cta-secondary {
      width: 100%;
      max-width: 300px;
    }
    
    .hero-image img {
      max-width: 90%;
    }
    
    .mobile-menu-toggle {
      display: block;
    }
    
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: white;
      padding: 20px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      flex-direction: column;
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .nav-links li {
      margin: 10px 0;
    }
    
    .nav-links a {
      display: block;
      padding: 10px;
    }
  }
  
  @media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h1 .highlight { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .subtitle { font-size: 1rem; }
    
    .cta-primary, .cta-secondary {
      font-size: 1rem;
      padding: 12px 24px;
    }
    
    .hero {
      padding: 80px 0;
    }
    
    .features, .cta, .team, .contact {
      padding: 60px 0;
    }
    
    .feature {
      padding: 30px 20px;
    }
    
    .team-member img {
      width: 150px;
      height: 150px;
    }
    
    .method {
      padding: 30px 20px;
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* Apply animations */
  .hero-content, .feature, .team-member, .method {
    animation: fadeIn 1s ease-out, slideUp 0.5s ease-out;
  }
  
  /* Smooth scrolling for the entire page */
  html {
    scroll-behavior: smooth;
  }
  
  /* Accessibility improvements */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  
  /* Focus styles for better keyboard navigation */
  a:focus, button:focus {
    outline: 2px solid #4F46E5;
    outline-offset: 2px;
  }
  
  /* Print styles */
  @media print {
    .hero, .cta, .contact {
      background: none;
      color: black;
    }
    
    .cta-button, .mobile-menu-toggle {
      display: none;
    }
    
    a {
      text-decoration: underline;
    }
    
    .hero-image, .team-member img {
      max-width: 50%;
      margin: 20px auto;
    }
  }