/* ═══════════════════════════════════════════════
   ABOUT PAGE STYLES
   ════════════════════════════════════════════════ */

.page-about .header {
  background: var(--dark);
  padding: 10px 0;
}

/* Base structural fixes to reuse donate header variables */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.page-header .page-title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header .page-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════
   MISSION & OBJECTIVES
   ════════════════════════════════════════════════ */
.mission-objectives {
  background: var(--white);
}

.mo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mo-card {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.mo-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.mo-icon.highlight {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.mo-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.mo-card ul {
  list-style: none;
}

.mo-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

.mo-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.mo-card .highlight + h2 + ul li::before {
  background: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

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

.team-group-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 60px 0 40px;
  position: relative;
}

.team-grid {
  display: grid;
  gap: 32px;
}

/* Executive grid distinct sizing */
.executive-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 80px;
}

/* Regular team smaller grid */
.regular-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--gray-50);
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image {
  transform: scale(1.08); /* slight zoom on hover */
}

/* Dark gradient overlay at the bottom of the image for contrast */
.team-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
  pointer-events: none;
}

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

.executive-grid .team-info {
  padding: 28px 24px;
}

.team-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.executive-grid .team-info h4 {
  font-size: 1.25rem;
}

.team-info p {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.regular-grid .team-info p {
  color: var(--gray-600);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   CORE VALUES
   ════════════════════════════════════════════════ */
.core-values {
  background: var(--white);
  padding-bottom: 100px;
}

.values-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Background elements */
.values-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.values-card::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.values-card h2 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.values-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.value-item:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .mo-card {
    padding: 32px 24px;
  }
  
  .executive-grid, .regular-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .values-card {
    padding: 48px 24px;
  }
  
  .values-card h2 {
    font-size: 1.8rem;
  }
  
  .value-item {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}
