body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.section {
  padding: 60px 0;
}

h2 {
  color: #2e7d32;
  margin-bottom: 20px;
  text-align: center;
}


/* ======== NAVBAR ESTILOS ======== */
.navbar-brand img {
  height: 80px;              
  width: 80px;              
  object-fit: contain;       
  background-color: #ffffff; 
  border-radius: 10px;       
  padding: 5px;              
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
}

.section {
  scroll-margin-top: 100px; 
}

.navbar {
  padding: 0.8rem 1rem;
}

.navbar-brand span {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 5px;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Rectángulos de colores intercalados */
.bg-green {
  background-color: #aed581; /* verde bosque */
}

.bg-blue {
  background-color: #aed581; 
}

/* Hover elegante */
.nav-box:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Resaltar enlace activo */
.nav-link.active,
.nav-link:focus {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  outline: none;
}


.carousel-inner img {
  height: 850px; 
  object-fit: cover; 
  width: 100%;
}

/* Botones del acordeón */
.acordeon-btn {
  background-color: #388e3c; /* Verde más claro que el navbar */
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Hover o cuando el cursor pasa encima */
.acordeon-btn:hover {
  background-color: #2e7d32; /* tono más oscuro */
  transform: translateY(-2px);
}

/* Estado activo (cuando está abierto) */
.acordeon-btn.active {
  background-color: #1b5e20;
}

/* Contenedor del contenido */
.acordeon-content {
  background-color: #f5f5f5;
  color: #333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  border-radius: 0 0 8px 8px;
  padding: 0 20px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Cuando se despliega */
.acordeon-content.show {
  padding: 15px 20px;
  max-height: 500px; /* Ajusta según el contenido */
}

/* Listas dentro del contenido */
.acordeon-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.acordeon-content li {
  margin-bottom: 5px;
}


/* === Idiomas === */
.lista-idiomas {
  list-style: none;
  padding: 0;
  text-align: center;
}

.lista-idiomas li {
  margin: 10px 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bandera {
  width: 35px;
  height: auto;
  border-radius: 4px;
}

/* === Footer === */
.footer {
  background-color: #2e7d32;
  color: #f8f9fa;
  padding: 40px 0;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer b {
  color: #fff;
  font-weight: 600;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.footer-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.footer-icons img:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

/* 📱 Versión móvil */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
