/* Liberia Page Styles */

.liberia-main {
  padding: 0;
  flex: 1;
}

/* Hero Section */
.liberia-hero {
  background: linear-gradient(135deg, #2a071f 0%, #4a1a3a 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.liberia-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/african_kids.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.liberia-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  font-weight: 300;
  color: #f1b8d0;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.liberia-hero .lead {
  position: relative;
  z-index: 2;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Facts Section */
.liberia-facts {
  padding: 4rem 2rem;
  background: #1a0515;
}

.liberia-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.liberia-facts .fact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(241, 184, 208, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.liberia-facts .fact:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(241, 184, 208, 0.1);
}

.liberia-facts .fact h3 {
  font-size: 1.5rem;
  color: #f1b8d0;
  margin: 0 0 1rem 0;
  font-weight: 400;
}

.liberia-facts .fact p {
  color: #fff;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* Projects Section */
.projects {
  padding: 4rem 2rem;
  background: #2a071f;
}

.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #f1b8d0;
  margin: 0 0 3rem 0;
  font-weight: 300;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(241, 184, 208, 0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f1b8d0, #d4a5b8);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(241, 184, 208, 0.15);
}

.project-info {
  flex: 1;
}

.project-info h4 {
  font-size: 1.5rem;
  color: #f1b8d0;
  margin: 0 0 1rem 0;
  font-weight: 400;
}

.project-info p {
  color: #fff;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f1b8d0, #d4a5b8);
  color: #2a071f;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
}

.project-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 184, 208, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .liberia-hero h1 {
    font-size: 2.5rem;
  }
  
  .liberia-hero .lead {
    font-size: 1.1rem;
  }
  
  .projects h2 {
    font-size: 2rem;
  }
  
  .liberia-facts {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .liberia-hero {
    padding: 3rem 1rem;
  }
  
  .liberia-hero h1 {
    font-size: 2rem;
  }
  
  .liberia-hero .lead {
    font-size: 1rem;
  }
  
  .liberia-facts,
  .projects {
    padding: 3rem 1rem;
  }
  
  .liberia-facts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .liberia-facts .fact {
    padding: 1.5rem;
  }
}