*{
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
  font-family: 'Sans-serif';
  background-color: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0px;
  }

main {
  flex-grow: 1;
  min-height: 100%;
}

  .nav{
    display: flex;
    gap: 1rem;
  }

  .nav a {
    color: #fff;
    text-decoration: none;
  }

  .socials a {
  color: white;
}

  nav a:hover {
    text-decoration: underline;
  }

  .btn{
    padding: .5rem 1rem;
    background: #0070ba;
    color: white;
    border: 1px soldi transparent;
    border-radius: .25rem;
  }

  .btn-big{
    padding: .7rem 1.3rem;
    line-height: 1.3rem;
  }

/*Footer Content*/
.footer {
  background-color: #003366;
  color: white;
  position: relative;
  padding-bottom: 60px; /* space for footer-bottom */
  width: 100%;
}

.footer .footer-content {
  display: flex;
  flex-wrap: wrap; /* allows responsiveness */
  padding: 20px 0;
  height: auto;
  width: 100%;
}

.footer .footer-content .footer-section {
  flex: 1;
  padding: 25px;
  min-width: 250px; /* ensures columns don't shrink too small */
}

.footer .footer-content .about .contact span {
  display: block;
  font-size: 1.1em;
  margin-bottom: 8px;
}

.footer .footer-content .about .socials a {
  border: 1px solid grey;
  width: 45px;
  height: 41px;
  padding-top: 5px;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
  font-size: 1.3em;
  border-radius: 5px;
  transition: all 0.3s;
}

.footer .footer-content .about .socials a:hover {
  border: 1px solid white;
  color: white;
  transform: translateY(-3px);
}

.footer .footer-content .links ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.footer .footer-content .links ul li {
  margin-bottom: 10px;
  font-size: 1.2em;
  list-style-position: outside;
}

.footer .footer-content .links ul li a {
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.footer .footer-content .links ul li a:hover {
  transform: translateX(5px);
}

.footer .footer-content .contact-form .contact-input {
  background: white;
  color: black;
  margin-bottom: 10px;
  line-height: 1.5em;
  padding: 0.7em 1.4rem;
  border: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
}

.footer .footer-content .contact-form .contact-btn {
  float: right;
  padding: 0.5rem 1rem;
  background: #0070ba;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.footer .footer-bottom {
  background: #003366;
  height: 50px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  font-size: 13px;
}

/* Footer Email Send Button */
.button-btn{
  border: 2px solid #4151e3;
  background: white;
  color: #4151e3 !important;
  padding: .5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.button-btn:hover{
  background: rgb(57, 136, 220);
  color: white !important;
  transition: 0.3s;
}

/* Responsive layout */
@media (max-width: 768px) {
  .footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .footer-content .footer-section {
    width: 100%;
    padding: 15px;
  }

  .footer .footer-content .about .socials a {
    margin-bottom: 10px;
  }

  .footer .footer-content .links ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px 20px; /* row and column gap */
    padding-left: 30;
    justify-items: start;
  }

  .footer .footer-content .links ul li {
    font-size: 1.2em;
  }

  .footer .footer-content .links ul li a {
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
  }

  .footer .footer-content .links ul li a:hover {
    transform: translateX(5px);
  }
}

  a {
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: bold;
    color: white;
  }

  .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;
}

.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;
    border-radius: 5px;
  }

  .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;
  }
  .calendar-container iframe {
    height: 50vh;  /* smaller for mobile */
  }
}

/* Calendar */
.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-container iframe {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-height: 300px;  /* doesn’t get too small */
  background: white;
  padding-bottom: 12px;
}