/* Index Page Sections Styles */

/* Mission Statement Section */
.index-section {
  padding: 4rem 2rem;
  color: #e9d6e4;
}

.index-section .container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.mission {
  background: #1a0515;
  position: relative;
}

.mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(241, 184, 208, 0.05) 0%, rgba(212, 165, 184, 0.05) 100%);
  z-index: 1;
}

.mission .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #f1b8d0;
  margin: 0 0 2rem 0;
  text-align: center;
}

.section-copy {
  max-width: 900px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #fff;
  margin: 0 auto;
  text-align: center;
  opacity: 0.95;
}

/* Vision Section */
.vision {
  background: #2a071f;
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/african_kids.jpg') center/cover;
  opacity: 0.05;
  z-index: 1;
}

.vision .container {
  position: relative;
  z-index: 2;
}

.section-lead {
  max-width: 900px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto 2rem auto;
  color: #fff;
  text-align: center;
  opacity: 0.9;
}

.vision-bullets {
  margin: 2rem 0 3rem 0;
  padding: 0;
  list-style: none;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vision-bullets li {
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #f1b8d0;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-bullets li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(241, 184, 208, 0.1);
}

.mini-title {
  font-size: 1.5rem;
  color: #f1b8d0;
  margin: 3rem 0 1.5rem 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Pillars Table */
.pillars-table {
  margin: 2rem auto 0 auto;
  border: 1px solid rgba(241, 184, 208, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pillars-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  transition: background-color 0.3s ease;
}

.pillars-row:hover {
  background: rgba(241, 184, 208, 0.05);
}

.pillars-head {
  background: linear-gradient(135deg, #f1b8d0, #d4a5b8);
  color: #2a071f;
  font-weight: 600;
}

.pillars-cell {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(241, 184, 208, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pillars-row:not(.pillars-head) .pillars-cell {
  color: #fff;
  border-top: 1px solid rgba(241, 184, 208, 0.1);
}

.pillars-row:not(.pillars-head) .pillars-cell:first-child {
  font-weight: 500;
  color: #f1b8d0;
}

.pillars-row:last-child .pillars-cell {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-copy,
  .section-lead {
    font-size: 1rem;
  }
  
  .pillars-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .pillars-cell {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .index-section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-copy,
  .section-lead {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .vision-bullets li {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
  
  .mini-title {
    font-size: 1.25rem;
    margin: 2rem 0 1rem 0;
  }
  
  .pillars-table {
    margin: 1.5rem auto 0 auto;
  }
  
  .pillars-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .pillars-head {
    display: none;
  }
  
  .pillars-row:not(.pillars-head) {
    border-bottom: 1px solid rgba(241, 184, 208, 0.1);
    padding: 1rem 0;
  }
  
  .pillars-row:not(.pillars-head) .pillars-cell {
    border-right: none;
    border-top: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .pillars-row:not(.pillars-head) .pillars-cell:first-child {
    font-weight: 600;
    color: #f1b8d0;
    border-bottom: 1px solid rgba(241, 184, 208, 0.2);
    margin-bottom: 0.5rem;
  }
  
  .pillars-row:not(.pillars-head) .pillars-cell:not(:first-child) {
    margin-left: 1rem;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .index-section {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-copy,
  .section-lead {
    font-size: 0.9rem;
  }
  
  .vision-bullets li {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .pillars-cell {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}