*{
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
  
body {
  font-family: 'Sans-serif';
  background-color: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  }

  main{
  flex-grow: 1;
}

  header {
    background-color: #003366;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .nav{
    display: flex;
    gap: 1rem;
  }
  
  .nav a {
    color: #fff;
    text-decoration: none;
    
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  .footer {
    background-color: #003366;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .site-footer{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left{
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-content{
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo{
    color: #ffd700;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-line{
  width: 2px;
  height: 62px;
  background-color: white;
}

.footer-link{
  text-decoration: none;
  font-weight: bold;
}

.footer-vertical-text{
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: white;
}

  a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: bold;
  }

  .burger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .nav {
      display: none;
      flex-direction: column;
      background-color: #003366;
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      padding: 1rem;
    }
  
    .nav.show {
      display: flex;
    }
  
    .burger {
      display: block;
    }
  }

button{
  color:#003366;
  border-radius: 23%;
  box-shadow: none;
  height: 50px;
  width: 70px;
  padding: 10px;
}

.donation-container{
  background: #fff;
  padding: 30px 40 px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.amount-option{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.amount-button{
  padding: 10px 20px;
  background-color: #e1e1e1;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.amount.selected, .amount-button:hover{
  background-color: #0070ba;
  color: white;
}

.custom-amount{
  margin-bottom: 20px;
}

.custom-amount input{
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

.paypal-button{
  padding: 12px 25px;
  background-color: #0070ba;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.paypal-button{
  background-color: #005ea6;
}

@media(max-width: 500px){
  .donation-container{
    padding: 25px 20px;
  }

  .paypal-button, .custom-amount input{
    width: 100%;
  }

  .amount-button{
    flex: 1 1 45%;
  }
}

.dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #333;
    min-width: 150px;
    top: 100%;
    left: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f0f0f0;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  section{
  padding: 80px 20px;
  color: white;
  text-align: center;
  font-size: 20px;
}

.section-1{
  background: linear-gradient(#003366, rgba(35, 131, 226, 0.6)), url('') no-repeat center/cover;
}

.section-2{
  background: linear-gradient(rgba(35, 131, 226, 0.6), rgba(123, 201, 239, 0.6)), url('') no-repeat center/cover;
}

.section-3{
  background: linear-gradient(rgba(123, 201, 239, 0.6), rgba(35, 132, 223, 0.6)), url('') no-repeat center/cover;
}

.section-4{
  background: linear-gradient(rgba(35, 132, 223, 0.6), #003366), url('') no-repeat center/cover;
}

.box-section{
  display: flex;
  gap: 20px;
}

.box{
  width: 200px;
  height: 200px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s;
}
.box a{
  color:black;
}

.box:hover{
  transform: scale(1.1)
}

.accessibility-menu {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.accessibility-menu {
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 1000;
    }

    .accessibility-button {
      width:80px;
      height: 80px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #ffff;
      font-size: 40px;
      text-decoration: none;
      position: fixed;
      right: 20px;
      bottom: 40px;
      transition: background 0.25s;
      outline: blue;
      border: none;
      cursor: pointer;
    }

    .accessibility-button:active{
      background:#ccc;
    }

    .accessibility-button:focus {
      outline: 3px solid #005fcc;
    }

    .accessibility-panel {
      display: none;
      background: #fff;
      border: 1px solid #ccc;
      padding: 1rem;
      margin-top: 0.5rem;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .accessibility-menu.open .accessibility-panel {
      display: block;
    }

    .accessibility-panel button {
      display: block;
      width: 100%;
      margin-bottom: 0.5rem;
      padding: 0.5rem;
      font-size: 1rem;
      cursor: pointer;
      border: 1px solid #ccc;
      border-radius: 5px;
      background: #f0f0f0;
    }

    .accessibility-panel button:focus {
      outline: 3px solid #005fcc;
    }

    .high-contrast {
      background-color: #000 !important;
      color: #fff !important;
    }

    .skip-link {
      position: absolute;
      top: -40px;
      left: 0;
      background: #000;
      color: #fff;
      padding: 8px;
      z-index: 100;
    }

    .skip-link:focus {
      top: 0;
    }
    .large-text, .large-text * {
      font-size: 1.25rem !important;
    }

    .dyslexia-font {
      font-family: 'OpenDyslexic', Arial, sans-serif !important;
    }


.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: auto; /* Auto height */
  margin: 30px auto;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide {
  display: none;
  width: 100%;
  text-align: center;
  background-color: #003366;
}

.slide img {
  max-height: 500px;
  width: auto;
  margin: auto;
  display: block;
  padding: 10px;
}

.caption {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  padding: 10px;
  font-size: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
  user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}


.active-dot {
  background-color: #4b0082;
}

.fade {
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .slide img {
    max-height: 250px;
  }
}
