/* ========================================
   SWEV India - About Page Styles
   ======================================== */

/* ===================== STORY SECTION ===================== */
.about-story {
  background: white;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.story-images {
  position: relative;
  height: 520px;
}

.img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}

.img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-stat-card {
  position: absolute;
  top: 30px;
  left: -15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.stat-big {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.stat-small {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
  white-space: nowrap;
}

/* Milestones */
.story-milestones {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}

.milestone:hover {
  background: var(--light-green);
  transform: translateX(4px);
}

.m-year {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  min-width: 48px;
}

.m-event strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.m-event span {
  font-size: 12px;
  color: var(--text-gray);
}

/* ===================== MISSION & VISION ===================== */
.mv-section {
  background: var(--off-white);
}

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

.mv-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.mv-card.mission { border-top: 4px solid #1a7a3c; }
.mv-card.vision { border-top: 4px solid #f5a623; }
.mv-card.values { border-top: 4px solid #1565c0; }

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.mission .mv-icon { background: #e8f5e9; color: #1a7a3c; }
.vision .mv-icon { background: #fff8e1; color: #f5a623; }
.values .mv-icon { background: #e3f2fd; color: #1565c0; }

.mv-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.mv-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mv-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
}

.mv-points li i {
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

/* ===================== STRENGTHS ===================== */
.values-section {
  background: white;
}

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

.strength-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.sc-icon {
  width: 65px;
  height: 65px;
  background: var(--light-green);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.sc-icon.tech { background: #e3f2fd; color: #1565c0; }
.sc-icon.finance { background: #fff8e1; color: #f57f17; }
.sc-icon.local { background: #fce4ec; color: #c62828; }

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

.strength-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.strength-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===================== TEAM ===================== */
.team-section {
  background: var(--off-white);
}

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

.team-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.team-avatar {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.team-info {
  padding: 24px 20px;
}

.team-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-social a {
  width: 32px;
  height: 32px;
  background: var(--light-green);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===================== CERTIFICATIONS ===================== */
.cert-section {
  background: white;
}

.cert-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.cert-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  min-width: 160px;
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cert-icon {
  width: 52px;
  height: 52px;
  background: var(--light-green);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}

.cert-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cert-item span {
  font-size: 12px;
  color: var(--text-gray);
  display: block;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-images {
    height: 380px;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
  }
  
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .story-images {
    height: 300px;
  }
  
  .strengths-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cert-grid {
    justify-content: center;
  }
}
