/* About Page Styles */

/* Hero Section */
.about-hero {
  padding: 3rem 0 4rem;
  margin-bottom: 3rem;
}

.about-hero .hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(0,0,0,0.7);
}

.hero-actions {
  margin-top: 2rem;
}

.hero-image {
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-5px);
}

/* Section headers */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: rgba(0,0,0,0.6);
  margin-top: 0.5rem;
}

/* Mission section */
.about-mission {
  padding: 4rem 0;
  background-color: rgba(0,0,0,0.02);
  border-radius: 10px;
  margin-bottom: 4rem;
}

.image-container {
  position: relative;
  padding: 1rem;
}

.image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  transform: translate(15px, 15px);
  z-index: -1;
}

/* Timeline */
.about-story {
  padding: 4rem 0;
  margin-bottom: 4rem;
}

.timeline-modern {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(0,0,0,0.1);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 60px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.marker-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 11px;
  z-index: 2;
}

.marker-line {
  display: block;
  width: 2px;
  height: 100%;
  background-color: rgba(var(--primary-rgb), 0.3);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

.timeline-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.timeline-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .timeline-modern::before {
    left: 50%;
  }
  
  .timeline-item {
    padding-left: 0;
    margin-bottom: 4rem;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 50%;
    padding-left: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    padding-left: 50%;
    padding-right: 2rem;
  }
  
  .timeline-marker {
    left: 50%;
    margin-left: -10px;
  }
  
  .marker-line {
    left: 0;
  }
}

/* Values */
.about-values {
  padding: 4rem 0;
  margin-bottom: 4rem;
  background-color: rgba(0,0,0,0.02);
  border-radius: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.value-icon {
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  max-height: 60px;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.value-link {
  margin-top: auto;
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  padding-top: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.value-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.value-link:hover .arrow {
  transform: translateX(5px);
}

/* Technical approach */
.about-approach {
  padding: 4rem 0;
  margin-bottom: 4rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-feature {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tech-icon {
  margin-bottom: 1.5rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-image {
  max-height: 80px;
  max-width: 100%;
}

.tech-feature h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.tech-cta {
  margin-top: 3rem;
}

/* Team preview */
.about-team-preview {
  padding: 4rem 0;
  margin-bottom: 4rem;
  background-color: rgba(0,0,0,0.02);
  border-radius: 10px;
}

.founder-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.founder-image {
  margin-bottom: 2rem;
  max-width: 250px;
  overflow: visible;
}

.founder-image img {
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  object-fit: contain;
  object-position: center;
}

.founder-bio {
  text-align: center;
}

.founder-title {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .founder-preview {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  
  .founder-image {
    flex: 0 0 250px;
    margin-right: 3rem;
    margin-bottom: 0;
  }
  
  .founder-bio {
    flex: 1;
    text-align: left;
  }
}

/* CTA section */
.about-cta {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: white;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.about-cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 576px) {
  .cta-buttons {
    flex-direction: row;
  }
}