.elementor-3454 .elementor-element.elementor-element-a89d0c9{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-40bc6d5{--display:flex;}.elementor-3454 .elementor-element.elementor-element-7eb483f{width:100%;max-width:100%;}.elementor-3454 .elementor-element.elementor-element-bd1b0bc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-6dfbc8d{--display:flex;}.elementor-3454 .elementor-element.elementor-element-820a009{width:100%;max-width:100%;}.elementor-3454 .elementor-element.elementor-element-ce5c71f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-ee41f7e{--display:flex;}.elementor-3454 .elementor-element.elementor-element-814e718{--display:flex;}.elementor-3454 .elementor-element.elementor-element-342111e{width:100%;max-width:100%;}.elementor-3454 .elementor-element.elementor-element-6c3fe1e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-b2c12af{--display:flex;}.elementor-3454 .elementor-element.elementor-element-7336238{width:100%;max-width:100%;}.elementor-3454 .elementor-element.elementor-element-9661d5c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-1ad3f09{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-3454 .elementor-element.elementor-element-57c8494{width:100%;max-width:100%;text-align:center;}.elementor-3454 .elementor-element.elementor-element-57c8494 img{width:100%;}.elementor-3454 .elementor-element.elementor-element-5b794dc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3454 .elementor-element.elementor-element-f4a8ce0{--display:flex;}.elementor-3454 .elementor-element.elementor-element-dddd0c5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:767px){.elementor-3454 .elementor-element.elementor-element-928e599{width:100%;max-width:100%;}}@media(min-width:768px){.elementor-3454 .elementor-element.elementor-element-6c3fe1e{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-342111e */.local-challenges {
  background: linear-gradient(135deg, #1b3b8e, #0a71c3);
  color: #fff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.challenge-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Slideshow Section === */
.challenge-image {
  flex: 1 1 45%;
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

.slide1 {
  background-image: url('https://literacydevelopmentfoundation.org/wp-content/uploads/2023/06/hero-2.jpeg');
  animation-delay: 0s;
}

.slide2 {
  background-image: url('https://literacydevelopmentfoundation.org/wp-content/uploads/2023/06/project-8.jpeg');
  animation-delay: 5s;
}

.slide3 {
  background-image: url('https://literacydevelopmentfoundation.org/wp-content/uploads/2023/06/project-6.jpeg');
  animation-delay: 10s;
}

@keyframes fade {
  0%, 20% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

/* === Content Side === */
.challenge-content {
  flex: 1 1 50%;
}

.challenge-content h2 {
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 10px;
}

.challenge-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
}

.challenges-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  transition: 0.3s ease;
  font-weight: 600;
}

.challenge-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.challenge-card i {
  font-size: 30px;
  color: #ffdd57;
  margin-bottom: 10px;
}

.challenge-card h3 {
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.challenge-card p {
  font-size: 0.95em;
  line-height: 1.6;
}

/* === Responsive Fix for Phones === */
@media (max-width: 768px) {
  .challenge-grid {
    flex-direction: column;
    text-align: center;
  }

  .challenge-image {
    order: -1;
    height: 250px;
  }

  .challenge-content {
    flex: 1 1 100%;
  }

  .challenges-list {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7336238 */.africa-stats {
  text-align: center;
  padding: 70px 20px;
  background: #f8fafc;
}

.africa-stats h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.stat-card .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 36px;
  color: #1e40af;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.stat-card p {
  color: #444;
  font-size: 15px;
  margin-bottom: 10px;
}

.stat-card label {
  color: #2563eb;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Popup styles */
.popup {
  display: none;
}

.popup-toggle {
  display: none;
}

.popup-toggle:checked + .popup {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.overlay {
  position: absolute;
  inset: 0;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 260px;
  animation: scaleIn 0.3s ease;
}

.popup-content img {
  width: 100%;
  height: auto;
}

@keyframes scaleIn {
  from {transform: translate(-50%, -50%) scale(0.8);}
  to {transform: translate(-50%, -50%) scale(1);}
}

@media (max-width: 600px) {
  .stat-card h3 {
    font-size: 28px;
  }
  .africa-stats h2 {
    font-size: 22px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-928e599 */.donation-section {
  position: relative;
  background: url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1500&q=80") no-repeat center center/cover;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-section .overlay {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.donation-content h2 {
  font-size: 2.6em;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffdd57;
  letter-spacing: 1px;
}

.donation-content p {
  font-size: 1.15em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.donation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.donation-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.donation-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-size: 1em;
  font-weight: 600;
  background: #fff;
  color: #111;
  outline: none;
  box-shadow: 0 4px 10px rgba(255,255,255,0.15);
}

.donate-btn {
  background: linear-gradient(90deg, #ffb300, #ffdd57);
  color: #000;
  font-weight: 800;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1.3em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255,221,87,0.4);
}

.donate-btn:hover {
  background: linear-gradient(90deg, #ffdd57, #ffe98b);
  transform: translateY(-3px);
}

@media (max-width: 700px) {
  .donation-content {
    padding: 35px 25px;
  }

  .donation-content h2 {
    font-size: 1.9em;
  }

  .donation-content p {
    font-size: 1em;
  }
}/* End custom CSS */
/* Start custom CSS */html, body {
  overflow-x: hidden !important;
}

.local-challenges,
.africa-stats,
.donation-section {
  width: 100vw !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  position: relative;
}


@media (max-width: 768px) {
  .local-challenges,
  .africa-stats,
  .donation-section {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
}/* End custom CSS */