/* ===================================
   Custom Lerangwa School Project Page Styles
   =================================== */

/* ==== Lerangwa Project Section ==== */
.lerangwa-project {
  padding: 100px 0;
  background-color: #edeeef;
}

.lerangwa-project__content {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.lerangwa-project__hero {
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.lerangwa-project__hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.lerangwa-project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background: rgba(157, 153, 139, 0.1);
  border-radius: 10px;
  margin-bottom: 40px;
}

.lerangwa-project__meta .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 500;
}

.lerangwa-project__meta .meta-item i {
  color: var(--base-color);
  font-size: 16px;
}

.lerangwa-project__section {
  margin-bottom: 50px;
}

.lerangwa-project__section:last-child {
  margin-bottom: 0;
}

.lerangwa-project__section h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--base-color);
}

.project-content {
  font-size: 16px;
  line-height: 1.8;
  color: #4f5b73;
}

.project-content p {
  margin-bottom: 20px;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #4f5b73;
}

.project-list li i {
  color: var(--base-color);
  font-size: 14px;
  margin-top: 5px;
  flex-shrink: 0;
}

.project-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.project-content ul ul {
  margin-left: 20px;
  margin-top: 10px;
}

.project-content ul ul li {
  font-size: 15px;
  margin-bottom: 10px;
}

.budget-breakdown {
  background: rgba(255, 255, 255, 0.7) !important;
}

/* ==== Fundraising Section ==== */
.lerangwa-fundraising {
  background: rgba(157, 153, 139, 0.1);
  padding: 30px;
  border-radius: 15px;
}

.fundraising-goal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.goal-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.goal-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--base-color);
  margin-bottom: 8px;
}

.goal-item p {
  font-size: 14px;
  color: #4f5b73;
  margin: 0;
}

.fundraising-cta {
  text-align: center;
  margin-top: 30px;
}

/* ==== Support Options ==== */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  align-items: stretch;
}

.support-option {
  text-align: center;
  padding: 35px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 300px;
}

.support-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.support-option i {
  font-size: 48px;
  color: var(--base-color);
  margin-bottom: 20px;
  display: block;
}

.support-option h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.support-option p {
  font-size: 14px;
  color: #4f5b73;
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.support-option a.btn--secondary {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  padding: 16px 24px !important;
  margin-top: auto;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-option a.btn--secondary i {
  font-size: 14px;
  margin: 0;
  color: var(--base-color) !important;
  transition: transform 0.3s ease;
}

.support-option a.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--black) !important;
}

.support-option a.btn--secondary:hover i {
  transform: translateX(3px);
  color: var(--base-color) !important;
}

.social-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--base-color);
  color: var(--black);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==== Sidebar Styles ==== */
.lerangwa-project__sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.widget-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--base-color);
}

.widget-header h5 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 0;
}

.widget-content .stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(157, 153, 139, 0.2);
}

.widget-content .stat-item:last-child {
  border-bottom: none;
}

.widget-content .stat-item i {
  font-size: 32px;
  color: var(--base-color);
  width: 40px;
  text-align: center;
}

.widget-content .stat-item h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 0 0 5px 0;
}

.widget-content .stat-item p {
  font-size: 14px;
  color: #4f5b73;
  margin: 0;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--base-color) 0%, var(--hover-color) 100%);
  color: var(--black);
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 15px;
}

.sidebar-cta p {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 20px;
  opacity: 0.9;
}

.sidebar-cta .btn--primary {
  background: var(--secondary-color);
  color: var(--white);
}

.sidebar-cta .btn--primary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.related-project-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(157, 153, 139, 0.2);
}

.related-project-item:last-child {
  border-bottom: none;
}

.related-project-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.related-project-item a:hover {
  color: var(--base-color);
  padding-left: 5px;
}

.related-project-item a i {
  color: var(--base-color);
  transition: var(--transition);
}

.related-project-item a:hover i {
  transform: translateX(5px);
}

.sidebar-contact {
  text-align: center;
}

.contact-logo {
  margin-bottom: 20px;
}

.contact-logo img {
  max-width: 150px;
  height: auto;
}

.sidebar-contact h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.sidebar-contact p {
  font-size: 14px;
  color: #4f5b73;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ==== Responsive ==== */
@media (max-width: 1199px) {
  .lerangwa-project__sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 991px) {
  .lerangwa-project__content {
    padding: 30px 20px;
  }
  
  .lerangwa-project__section h2 {
    font-size: 28px;
  }
  
  .fundraising-goal {
    grid-template-columns: 1fr;
  }
  
  .support-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .support-option {
    min-height: 280px;
  }
  
  .support-option {
    min-height: auto;
    padding: 30px 20px;
  }
  
  .support-option a.btn--secondary {
    width: 100% !important;
    padding: 16px 20px !important;
  }
  
  .support-option p {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .lerangwa-project {
    padding: 60px 0;
  }
  
  .lerangwa-project__content {
    padding: 20px 15px;
  }
  
  .lerangwa-project__meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .lerangwa-project__section h2 {
    font-size: 24px;
  }
  
  .goal-item h3 {
    font-size: 24px;
  }
  
  .sidebar-widget {
    padding: 20px 15px;
  }
}
