* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #222;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  border-bottom: 1px solid #eee;
}

#p1 {
  position: absolute;
  margin-left: 90px;
  font-weight: bold;
  font-size: 22px;
  color: #222;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-buttons .btn {
  margin-left: 15px;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.btn.login {
  border: 1px solid #1f40ff;
  color: #1f40ff;
}

.inicio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #01d28e, #00c0a3);
  color: white;
  padding: 20px 40px;
}

.inicio-texto {
  max-width: 60%;
}

.inicio-texto h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.inicio-texto p {
  font-size: 18px;
  margin-bottom: 30px;
}

.inicio-texto .btn.large {
  font-size: 16px;
  padding: 12px 24px;
  color: white;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 30px;
}

.image img {
  max-height: 450px;
  border-radius: 10px;
}

.lista-valores {
  margin-left: 20px;
}

/* Container do carrossel */
.carrossel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

/* Cada slide (imagem + texto) */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Slide visível */
.slide.ativo {
  opacity: 1;
}

/* Imagem */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

/* Caixa de texto sobre a imagem */
.texto {
  position: absolute;
  bottom: 30px;
  left: 50px;
  color: rgb(255, 255, 255);
  /*background: rgba(0, 0, 0, 0.4);*/
  padding: 15px 20px;
  border-radius: 10px;
  max-width: 400px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Título e texto */
.texto h2 {
  margin: 0 0 5px;
  font-size: 24px;
}

.texto p {
  margin: 0;
  font-size: 16px;
}

.sobre {
  margin-left: 100px;
  max-width: 70%;
  font-family: montserrat, sans-serif;
  color: rgb(46, 46, 46);
  opacity: 75%;
  line-height: 1.5em;
}

.doacao {
  text-align: center;
  margin: 40px;
}

.doacao a {
  text-decoration: none;
  color: #ffffff;
  padding: 10px;
  background: linear-gradient(to right, #01d28e, #00c0a3);
  font-family:Georgia, serif;
  font-size: 30px;
  border: solid 1px;
  border-radius: 5px;
  border-color: black;
}

.footer {
  background: linear-gradient(to right, #01d28e, #00c0a3);
  color: #ffffff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin-left: 320px;
}

.footer-selecao {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-selecao h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #111;
}

.footer-selecao p {
  margin: 5px 0;
  font-size: 14px;
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links img {
  width: 28px;
  height: 28px;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.social-links img:hover {
  filter: none;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #ffffff;
}

@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
