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

:root {
  /* Color System */
  --color-primary: #6366f1;
  --color-secondary: #0ea5e9;
  --color-accent: #8b5cf6;
  --color-background: #0f172a;
  --color-surface: #1e293b;
  --color-text: #f8fafc;
  --color-text-secondary: #94a3b8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  
  /* Typography */
  --font-main: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  
  /* 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);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  
  /* Animation */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-main);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-4);
}

.container {
  width: 100%;
  max-width: 640px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.header {
  padding: var(--space-8);
  background: var(--color-primary);
  color: white;
  text-align: center;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -0.025em;
}

.header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.todo-list {
  padding: var(--space-6);
}

form {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-base);
  font-family: inherit;
}

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

button {
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: inherit;
}

button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

li {
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-base);
}

li:hover {
  background: var(--color-gray-100);
}

.delete-btn {
  background: var(--color-danger);
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}

.delete-btn:hover {
  background: var(--color-danger-hover);
}

@media (max-width: 640px) {
  .container {
    border-radius: 12px;
  }
  
  .header {
    padding: var(--space-6);
  }
  
  .header h1 {
    font-size: 1.75rem;
  }
  
  .todo-list {
    padding: var(--space-4);
  }
  
  form {
    flex-direction: column;
  }
  
  button {
    width: 100%;
  }
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.brand-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Updated Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-trigger i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  z-index: 1000;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-content a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dropdown-content a:hover::before {
  opacity: 0.1;
}

.dropdown-content i {
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: var(--color-secondary);
}

.dropdown-content a:hover i {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--color-primary);
}

/* Icon-specific colors */
.dropdown-content i.fa-share-nodes { color: #3b82f6; }
.dropdown-content i.fa-calendar-days { color: #10b981; }
.dropdown-content i.fa-tasks { color: #8b5cf6; }
.dropdown-content i.fa-chart-line { color: #f59e0b; }
.dropdown-content i.fa-ad { color: #ef4444; }
.dropdown-content i.fa-robot { color: #06b6d4; }
.dropdown-content i.fa-magnifying-glass-chart { color: #ec4899; }
.dropdown-content i.fa-funnel-dollar { color: #14b8a6; }

.dropdown-content .service-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.dropdown-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  transition: color 0.3s ease;
}

.dropdown-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}

.dropdown-content a:hover h4 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dropdown-content {
    grid-template-columns: 1fr;
    min-width: 300px;
    right: 0;
    left: auto;
    transform: translateX(0) translateY(10px);
    padding: 1rem;
  }

  .dropdown-content::before {
    left: auto;
    right: 2rem;
  }

  .dropdown:hover .dropdown-content {
    transform: translateX(0) translateY(0);
  }

  .dropdown-content a {
    padding: 1rem;
  }

  .dropdown-content i {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
  }

  .dropdown-content h4 {
    font-size: 1rem;
  }

  .dropdown-content p {
    font-size: 0.85rem;
  }
}

/* Add animation for dropdown items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  animation: fadeInUp 0.3s ease forwards;
  opacity: 0;
}

.dropdown-content a:nth-child(1) { animation-delay: 0.1s; }
.dropdown-content a:nth-child(2) { animation-delay: 0.15s; }
.dropdown-content a:nth-child(3) { animation-delay: 0.2s; }
.dropdown-content a:nth-child(4) { animation-delay: 0.25s; }
.dropdown-content a:nth-child(5) { animation-delay: 0.3s; }
.dropdown-content a:nth-child(6) { animation-delay: 0.35s; }
.dropdown-content a:nth-child(7) { animation-delay: 0.4s; }
.dropdown-content a:nth-child(8) { animation-delay: 0.45s; }

/* Button Styles */
.cta-button {
  background: var(--gradient-primary);
  color: var(--color-text);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  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: 0.5s;
}

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

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.primary-button, .secondary-button {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.primary-button {
  background: var(--gradient-primary);
  color: var(--color-text);
  border: none;
}

.secondary-button {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text-secondary);
}

/* Stats Section */
.stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-label {
  color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats {
    justify-content: center;
  }

  .brand-logo {
    height: 60px;
  }
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background: var(--color-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    color: var(--color-text);
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-secondary);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-hover {
    position: relative;
    margin-top: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.learn-more {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--color-primary);
    gap: 0.75rem;
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

/* Remove the old service-link styles since we're making the whole card clickable */
.service-link {
    display: none;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--color-background);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    text-align: left;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

.feature-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.feature-animation {
    flex: 1;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Elements */
.automation-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    position: relative;
    animation: rotate 10s linear infinite;
}

.automation-circle::before,
.automation-circle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
}

.automation-circle::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.automation-circle::after {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.analytics-graph {
    width: 200px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

.analytics-graph::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(14, 165, 233, 0.1) 100%
    );
    border-bottom: 2px solid var(--color-secondary);
}

.bar {
    width: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    position: relative;
    animation: barGrow 3s ease-out infinite;
}

.bar::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.bar:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.bar:nth-child(3) { height: 50%; animation-delay: 0.4s; }
.bar:nth-child(4) { height: 90%; animation-delay: 0.6s; }
.bar:nth-child(5) { height: 60%; animation-delay: 0.8s; }

.trend-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.trend-line svg {
    width: 100%;
    height: 100%;
}

.trend-line path {
    stroke: var(--color-secondary);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes barGrow {
    0% { transform: scaleY(0.3); opacity: 0.5; }
    50% { transform: scaleY(1.1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0.8; }
}

@keyframes drawLine {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes moveGraph {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-animation {
        height: 200px;
    }
}

/* Update the feature-list styles */
.feature-list {
    list-style: none;
    margin-top: 0.75rem;
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.25rem;
    color: var(--color-text-secondary);
    padding-left: 0;
}

.feature-list i {
    color: var(--color-secondary);
    font-size: 1rem;
    min-width: 20px;
    margin-right: 8px;
    margin-top: 4px;
}

/* Enhanced Animation Styles */
.brain-animation {
    position: relative;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.synapse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.synapse:nth-child(1) {
    top: 30%;
    left: 30%;
    animation: synapseMove 3s infinite;
}

.synapse:nth-child(2) {
    top: 50%;
    right: 30%;
    animation: synapseMove 3s infinite 1s;
}

.synapse:nth-child(3) {
    bottom: 30%;
    left: 50%;
    animation: synapseMove 3s infinite 2s;
}

.integration-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.integration-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.integration-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 2px dashed var(--color-secondary);
    border-radius: 50%;
    animation: rotateReverse 15s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes synapseMove {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

@keyframes rotateReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-list {
        margin-top: 1rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .feature-animation {
        transform: scale(0.8);
    }
}

/* Add these scroll animation styles */
.scroll-fade {
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.scroll-fade.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Add a blur effect for elements before they animate */
.scroll-fade,
.scroll-slide-right,
.scroll-slide-left {
    filter: blur(5px);
}

.scroll-fade.active,
.scroll-slide-right.active,
.scroll-slide-left.active {
    filter: blur(0);
}

/* Team Section Styles */
.team {
    padding: 4rem 2rem;
    background: var(--color-surface);
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.member-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.member-info {
    padding: 1.25rem;
    text-align: center;
}

.member-info h3 {
    color: var(--color-text);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-info p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.member-info p:first-of-type {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.role-description {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    color: var(--color-text-secondary) !important;
    opacity: 0.9;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover .role-description {
    color: var(--color-text) !important;
    opacity: 1;
}

.team-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.college-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.college-info i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.college-link {
    text-decoration: none;
    transition: var(--transition-fast);
}

.college-link span {
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.college-link:hover span {
    color: var(--color-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }

    .member-info p {
        font-size: 0.8rem;
    }

    .team-description p {
        font-size: 1rem;
    }
}

/* Add/Update these styles for the hero image */
.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.gradient-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

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

/* For the dropdown item */
.dropdown-content .dropdown-item i.fa-funnel-dollar {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* For the service card */
.service-card:hover .fa-funnel-dollar {
    transform: scale(1.1);
    color: #3b82f6;
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* AI Showcase Section */
.ai-showcase {
    padding: 4rem 2rem;
    background: var(--color-background);
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.ai-feature {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-feature:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ai-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.ai-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

.ai-feature p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.ai-demo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-demo-content {
    flex: 1;
}

.ai-demo-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

.ai-demo-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.demo-button {
    background: var(--gradient-primary);
    color: var(--color-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.ai-demo-visual {
    flex: 1;
    height: 300px;
    position: relative;
}

.neural-network {
    width: 100%;
    height: 100%;
    position: relative;
}

.node {
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

.node:nth-child(1) { top: 20%; left: 20%; }
.node:nth-child(2) { top: 50%; left: 50%; }
.node:nth-child(3) { top: 80%; left: 80%; }

.connection {
    position: absolute;
    height: 2px;
    background: var(--gradient-primary);
    transform-origin: left center;
    animation: drawLine 3s infinite;
}

/* Statistics Section */
.statistics {
    padding: 4rem 2rem;
    background: var(--color-surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0.2;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background: var(--color-background);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--color-text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--color-surface);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-secondary);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
}

.contact-info i {
    color: var(--color-secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .ai-features,
    .stats-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ai-demo {
        flex-direction: column;
        text-align: center;
    }

    .ai-features,
    .stats-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes drawLine {
    0% { width: 0; opacity: 0; }
    50% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0.5; }
}

/* Update section padding */
.services,
.features,
.team,
.ai-showcase,
.statistics,
.testimonials {
    padding: 4rem 2rem;
}

/* Update section header spacing */
.section-header {
    margin-bottom: 2.5rem;
}

/* Update services grid spacing */
.services-grid {
    gap: 1rem;
    padding: 0 0.5rem;
}

/* Update feature item spacing */
.feature-item {
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Update team grid spacing */
.team-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Update AI features spacing */
.ai-features {
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Update AI demo spacing */
.ai-demo {
    gap: 3rem;
    padding: 1.5rem;
}

/* Update stats grid spacing */
.stats-grid {
    gap: 1.5rem;
}

/* Update testimonials spacing */
.testimonials-slider {
    gap: 1.5rem;
}

/* Update footer spacing */
.footer {
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    padding-top: 1.5rem;
}

/* Update hero section spacing */
.hero {
    padding: 6rem 2rem 3rem;
    gap: 3rem;
}

.hero-buttons {
    margin-bottom: 2rem;
}

/* Update team member spacing */
.member-info {
    padding: 1.25rem;
}

/* Update testimonial card spacing */
.testimonial-card {
    padding: 1.5rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

/* Update service card spacing */
.service-card {
    padding: 1.5rem;
}

.service-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-hover {
    margin-top: 1.25rem;
}

/* Update feature list spacing */
.feature-list {
    margin-top: 0.75rem;
}

.feature-list li {
    margin-bottom: 0.25rem;
}

/* Update college info spacing */
.college-info {
    padding: 0.75rem;
    gap: 0.75rem;
}

/* Update responsive adjustments */
@media (max-width: 768px) {
    .services,
    .features,
    .team,
    .ai-showcase,
    .statistics,
    .testimonials {
        padding: 3rem 1.5rem;
    }

    .hero {
        padding: 5rem 1.5rem 2rem;
    }

    .footer {
        padding: 2rem 1.5rem 1rem;
    }
} 