/* ============================================================================
   Enhanced About Us Page - Decolonize Africa Space 420 Hospital
   ============================================================================ */

body {
  font-family: "Roboto";
  margin: 0;
  padding: 0;
}

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, #0098DA 0%, #111111 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../Images/hospital-bg-pattern.png') repeat;
  opacity: 0.1;
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mission & Vision Section */
.mission-vision {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-vision .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.mission-card, .vision-card {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-10px);
}

.mission-card i, .vision-card i {
  font-size: 4rem;
  color: #0098DA;
  margin-bottom: 1.5rem;
}

.mission-card h3, .vision-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #111111;
}

.mission-card p, .vision-card p {
  line-height: 1.7;
  color: #666;
}

/* Our Story Section */
.our-story {
  padding: 80px 0;
  background: white;
}

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

.story-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #111111;
}

.story-text p {
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #666;
}

.story-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
}

.highlight i {
  color: #27ae60;
  font-size: 1.2rem;
}

.highlight span {
  color: #111111;
  font-weight: 500;
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background: #f8f9fa;
}

.services-overview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #111111;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-item i {
  font-size: 3rem;
  color: #0098DA;
  margin-bottom: 1.5rem;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111111;
}

.service-item p {
  line-height: 1.6;
  color: #666;
}

/* Leadership Team */
.leadership {
  padding: 80px 0;
  background: white;
}

.leadership h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111111;
}

.leadership > .container > p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #666;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-member {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  background: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0098DA, #0079B8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: white;
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111111;
}

.member-role {
  color: #0098DA;
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  line-height: 1.6;
  color: #666;
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0098DA 0%, #111111 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn.primary {
  background: white;
  color: #0098DA;
}

.cta-btn.primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #0098DA;
}

/* Legacy Support */
.About {
  display: none; /* Hide old content */
}

.hidden-content a {
  color: #0098DA;
  font-style: italic;
  text-decoration: none;
  display: block;
  margin: 10px 0;
  transition: color 0.3s ease;
}

.hidden-content a:hover {
  color: #0079B8;
}

/* ============================================================================
   African Health Education Section
   ============================================================================ */

.african-health-education {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.african-health-education .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.african-health-education h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #111111;
  margin-bottom: 1rem;
}

.african-health-education .section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.education-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
  background: linear-gradient(135deg, #0098DA 0%, #0079B8 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.card-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.card-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.card-content {
  padding: 2rem;
}

.card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-content ul {
  list-style: none;
  padding: 0;
}

.card-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.card-content li strong {
  color: #0098DA;
  display: inline-block;
  min-width: 140px;
}

.education-cta {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.education-cta h3 {
  color: #111111;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.education-cta p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.education-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.education-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.education-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.education-link i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }

  .education-links {
    flex-direction: column;
    align-items: center;
  }

  .education-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

#learnMoreBtn {
  background-color: #0098DA;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#learnMoreBtn:hover {
  background-color: #0079B8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .story-highlights {
    grid-template-columns: 1fr;
  }
}

}

