/* =========================================
   About Page – VisionAI
   White Theme + Rainbow Style
   Author: Zabiullah
   Version: 2.0
========================================= */

/* ===== ABOUT HERO ===== */
.about-hero {
  padding: 60px 0 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.about-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.about-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
}

/* ===== OUR STORY ===== */
.our-story {
  padding: 80px 0;
  background: #ffffff;
}

.story-content {
  max-width: 860px;
  margin: 0 auto;
}

.story-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.story-content strong {
  font-weight: 700;
  color: var(--text);
}

.story-content em {
  font-style: italic;
  color: var(--text-muted);
}

/* ===== OUR MISSION ===== */
.our-mission {
  padding: 80px 0;
  background: var(--bg-soft);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mission-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rainbow);
  opacity: 0;
  transition: opacity 0.3s;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.mission-card:hover::before {
  opacity: 1;
}

.mission-card .icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.mission-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FOUNDER SECTION ===== */
.founder {
  padding: 80px 0;
  background: #ffffff;
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.founder-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
}

.founder-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--rainbow);
  border-radius: calc(var(--radius) + 4px);
  z-index: -1;
  opacity: 0.6;
}

.founder-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
}

.founder-info h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.founder-info .title {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 2px 0 4px;
}

.founder-info .location {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.founder-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.founder-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.founder-links .btn-secondary {
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== OUR TECHNOLOGY ===== */
.our-technology {
  padding: 80px 0;
  background: var(--bg-soft);
}

.tech-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.tech-item .tech-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.tech-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== TIMELINE ===== */
.timeline {
  padding: 80px 0;
  background: #ffffff;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.timeline-item .year {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--rainbow);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(124,77,255,0.25);
}

.timeline-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .founder-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .mission-grid,
  .tech-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .mission-grid,
  .tech-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  
  .about-hero {
    padding: 40px 0 24px;
    text-align: center;
  }
  
  .about-hero p {
    margin: 0 auto;
  }
  
  .story-content p {
    font-size: 16px;
  }
  
  .founder-info h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .founder-links {
    flex-direction: column;
  }
  
  .founder-links .btn-secondary {
    width: 100%;
    text-align: center;
  }
}