body {
  background-color: white;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header {
  background-color: #4a1184; /* Darker purple from the design */
}

/* Logo Image Styles */
header img.h-14,
footer img.h-12 {
  max-height: 60px;
  width: auto;
}

header img.h-14 {
  max-height: 70px; /* Larger for header */
}

footer img.h-12 {
  max-height: 50px; /* Larger for footer */
}

/* Responsive Logo Styles */
@media (max-width: 768px) {
  header img.h-14 {
    max-height: 50px; /* Smaller on tablets */
  }
  
  footer img.h-12 {
    max-height: 40px; /* Smaller on tablets */
  }
  
  /* Hero section on tablets */
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section .flex.flex-wrap a {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  header img.h-14 {
    max-height: 40px; /* Even smaller on mobile */
  }
  
  footer img.h-12 {
    max-height: 35px; /* Even smaller on mobile */
  }
  
  header .flex.items-center a.text-sm {
    font-size: 0.75rem; /* Smaller text for header links on mobile */
  }
  
  /* Hero section on mobile */
  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .hero-section .flex.flex-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-section .flex.flex-wrap a {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  /* Tabs responsiveness */
  .tabs-list, .role-tabs {
    width: 100%;
  }
  
  .tabs-trigger, .role-tab {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  
  /* Fix testimonial navigation on small screens */
  .prev-btn, .next-btn {
    top: 40%;
  }
}

.hero-section {
  background-color: #4a1184;
}

.stats-section {
  background-color: #4a1184;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* How It Works Section Styles */
.how-it-works-section {
  background-color: #f9f9f9;
}

.role-tabs {
  display: inline-flex;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 4px;
}

.role-tab {
  border: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  padding: 8px 16px;
  color: #6b7280;
}

.role-tab.active {
  background-color: white;
  color: #4a1184;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  display: none;
}

.timeline-content.active {
  display: block;
}

.timeline-content.hidden {
  display: none;
}

.vertical-timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.vertical-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #c4b5fd; /* Light purple */
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-step {
  position: relative;
  margin-bottom: 60px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #6d28d9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(109, 40, 217, 0.2);
}

/* Join Network Section */
.tabs-list {
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 0.25rem;
}

.tabs-trigger {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
}

.tabs-trigger.active {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabs-trigger:not(.active) {
  color: #6b7280;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Footer */
.footer {
  background-color: #4a1184;
  color: white;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: white;
}

/* Testimonial slider styles */
.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}

.testimonial-slide .bg-white {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-slide img {
  border: 3px solid #f9fafb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.prev-btn, .next-btn {
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.prev-btn:hover, .next-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.testimonial-dots .dot {
  cursor: pointer;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.testimonial-dots .dot:hover {
  transform: scale(1.2);
}

.testimonial-dots .dot.active {
  background-color: #6d28d9;
}

/* Hero image responsive styles */
.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}

/* Responsive styles */
@media (max-width: 768px) {
  /* How It Works responsive */
  .vertical-line {
    left: 20px;
    top: 0; 
    bottom: 0;
  }
  
  .timeline-step {
    flex-direction: column !important;
    padding-left: 40px !important;
    margin-bottom: 30px !important;
  }
  
  .step-number {
    left: 20px !important;
    transform: none !important;
  }
  
  .timeline-step .w-full {
    padding-left: 20px !important;
  }
  
  .timeline-step {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 10px !important;
    text-align: left !important;
  }
  
  /* Hero image responsive */
  .hero-image {
    max-height: 300px;
  }
  
  /* Testimonial responsive */
  .testimonial-slide .bg-white {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .timeline-step {
    margin-bottom: 25px !important;
  }
  
  .timeline-step .text-purple-600 {
    font-size: 0.75rem;
  }
  
  .vertical-line {
    left: 15px;
  }
  
  .step-number {
    left: 15px !important;
  }
  
  .hero-image {
    max-height: 200px;
  }
} 