header {
  background-color: antiquewhite;
}

body{
  font-family: 'Bricolage Grotesque', sans-serif;
  background-color: antiquewhite;
}

.logo img {
  width: 160px;
  height: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.form-section{
  background-color: white;
  padding: 32px;
  border-radius: 16px;
}

 .ecosistema-article{
    column-count: 3;
    column-gap: 2em;
    column-rule: 1px solid #ddd;
    text-align: justify;
    margin-bottom: 3em;
    padding: 2em;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

.footer{
background-color: darkolivegreen
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 24px 64px;
  padding-top: 48px;
  padding-bottom: 0px;
  margin: 0px;
  color: white;
}

.footer-foto p {
  padding:12px 0px;
}

.footer-redes a{
  padding: 0px 8px;
}

.footer-foto a{
  color: white;
}

.footer-copy {
  padding: 12px 64px;
  color: white;
}

.operarios-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap; /* permite que bajen si la pantalla es pequeña */
  gap: 20px;
  padding-bottom: 64px;
}

.operario-card {
  flex: 1 1 calc(25% - 20px); /* 4 por fila con espacio entre ellas */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.operario-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.operario-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.ecosistema-article p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.ecosistema-article p::first-letter {
  font-size: 2em;      /* 2 veces el tamaño del texto normal */
  font-weight: bold;   /* en negrita */
  font-family: 'Times New Roman';
}

.card-info {
  padding: 15px;
}

.card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #333;
}

.card-info .rol {
  font-weight: bold;
  color: darkolivegreen;
  margin-bottom: 10px;
}

.card-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
}

.card-info .telefono {
  font-size: 0.9rem;
  color: #777;
}

header a {
  color: #00695c;
  text-decoration: underline;
  font-weight: 600;
}

.kangaroo-container {
  position: relative;
  height: 200px;
  margin-top: 20px;
}

.kangaroo {
  position: absolute;
  bottom: 0;
  left: -200px;
  width: 200px;
  animation: jumpAcross 4s ease-in-out forwards;
}

@keyframes jumpAcross {
  0% { transform: translate(0, 0); left: -200px; }
  25% { transform: translate(100px, -80px); }
  50% { transform: translate(300px, 0); }
  75% { transform: translate(600px, -60px); }
  100% { transform: translate(1000px, 0); left: 1000px; opacity: 0; }
}

.hidden {
  display: none;
}

#carousel {
  margin-top: 40px;
}

.carousel {
  position: relative;
  width: 80%;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #fff;
  padding: 20px;
}

.carousel-item {
  display: none;
  animation: fadeIn 1s ease;
}

.carousel-item.active {
  display: block;
}

.carousel img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.controls {
  margin-top: 16px;
}