*{
    padding: 0;
    margin: 0;
    
    box-sizing: border-box;
}




/***************************** MAIN *******************************/

.contenedor-general{

  transform: translateY(95px);

}

.inicio{
  transform: translateY(80px);
}

/* Ajuste: limitar el selector global section para no afectar los bloques informativos personalizados */
section:not(.info-bloque) {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

/* Los bloques informativos usan su propio display y estructura */
.inicio-bloque.info-bloque {
  display: block;
  margin-top: 40px;
}

section h1{
    font-size: 40px;
    font-family: serif;
    
}

section h2{
    font-size: 30px;
    font-family: serif;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    section h1 {
        font-size: 32px;
        text-align: center;
    }
    section h2 {
        font-size: 24px;
    }
}
@media (max-width: 900px) {
    section h1 {
        font-size: 26px;
        text-align: center;
    }
    section h2 {
        font-size: 18px;
    }
}
@media (max-width: 600px) {
    section h1 {
        font-size: 20px;
    }
    section h2 {
        font-size: 15px;
        text-align: center;
    }
}
@media (max-width: 400px) {
    section h1 {
        font-size: 16px;
        text-align: center;
    }
    section h2 {
        font-size: 12px;
    }
}

/* Estilos para la sección de Agradecimientos */
.agradecimientos-inicio {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid #eee; /* Light line to separate from content above */
}

.agradecimientos-inicio h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block; /* To center the pseudo-element below */
    white-space: nowrap; /* Prevents the text from wrapping to the next line */
}

.agradecimientos-inicio h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #846103; /* A color that matches your box-shadow */
    border-radius: 2px;
}

.agradecimientos-slider-container {
    width: 100%;
    overflow: hidden; /* Hides content outside the container */
    padding: 20px 0; /* Space above and below the slider */
}

.agradecimientos-slider {
    display: flex; /* Arranges items horizontally */
    overflow-x: auto; /* Allows horizontal scrolling if items exceed container */
    scroll-snap-type: x mandatory; /* Snaps to items for smoother scrolling */
    -webkit-overflow-scrolling: touch; /* Improves scrolling on iOS */
    gap: 32px; /* Space between each thank you item */
    padding: 10px 0; /* Little padding for aesthetic */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
}

/* Hide scrollbar for Chrome, Safari, Opera */
.agradecimientos-slider::-webkit-scrollbar {
    display: none;
}

.agradecimiento-item-horizontal {
    flex: 0 0 auto; /* Prevents items from shrinking */
    width: 300px; /* Fixed width for each item */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    scroll-snap-align: start; /* Aligns item to the start of the scroll container */
    transition: transform 0.3s ease;
}

.agradecimiento-item-horizontal:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.agradecimiento-icono {
    font-size: 3em;
    color: #846103; /* Icon color similar to your shadow */
    margin-bottom: 15px;
}

.agradecimiento-mensaje {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.6;
}

.agradecimiento-nombre {
    font-weight: bold;
    color: #444;
    font-size: 0.95em;
}

.sin-agradecimientos {
    font-style: italic;
    color: #777;
    padding: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agradecimiento-item-horizontal {
        width: 80%; /* Make items wider on smaller screens */
        margin: 0 auto; /* Center items if they are narrower than the container */
    }
}

@media (max-width: 480px) {
    .agradecimientos-inicio h2 {
        font-size: 2em;
    }
    .agradecimiento-item-horizontal {
        width: 90%; /* Even wider on very small screens */
    }
    .agradecimiento-mensaje {
        font-size: 1em;
    }
}

/* Ajuste responsivo para el título de Mensajes de Agradecimiento */
.agradecimientos-inicio h2 {
  font-size: 2.5em;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .agradecimientos-inicio h2 {
    font-size: 2em;
  }
}
@media (max-width: 600px) {
  .agradecimientos-inicio h2 {
    font-size: 1.45em !important;
    line-height: 1.2;
  }
}
@media (max-width: 400px) {
  .agradecimientos-inicio h2 {
    font-size: 1.18em !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .agradecimientos-inicio h2 {
    font-size: 1.8em !important;
  }
}
@media (min-width: 901px) {
  .agradecimientos-inicio h2 {
    font-size: 2.2em !important;
  }
}

/* --- BLOQUES DE INFORMACIÓN INICIO --- */
.inicio-bloque.info-bloque {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  margin: 40px auto 32px auto;
  padding: 36px 24px;
  max-width: 1100px;
  width: 95%;
  display: block;
}
.info-bloque-content {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.info-bloque-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}
.info-bloque-content > div {
  flex: 1;
  min-width: 220px;
}
.info-bloque-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.info-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px 18px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 200px;
  text-align: center;
}
.info-card i {
  font-size: 2.2em;
  color: #846103;
  margin-bottom: 10px;
}
.info-bloque-impacto {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.impacto-item {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px 18px;
  min-width: 180px;
  text-align: center;
}
.impacto-num {
  font-size: 2.1em;
  color: #846103;
  font-weight: bold;
  display: block;
}
.impacto-label {
  font-size: 1.1em;
  color: #555;
}
@media (max-width: 900px) {
  .info-bloque-content {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .info-bloque-cards, .info-bloque-impacto {
    flex-direction: column;
    gap: 18px;
  }
}
/* --- FIN BLOQUES DE INFORMACIÓN INICIO --- */

/* --- ESTILOS NUEVAS SECCIONES INFORMATIVAS --- */
.mision-vision .info-bloque-content {
  flex-direction: row;
  gap: 48px;
  justify-content: center;
}
.mision-vision .info-bloque-content > div {
  background: #f7f7f7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  margin: 0 8px;
  text-align: center;
}
.mision-vision h2 {
  color: #846103;
  margin-bottom: 10px;
}
.valores {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.valores h2 {
  text-align: center;
  width: 100%;
}
.valores .info-bloque-cards {
  justify-content: center;
  align-items: center;
  width: 100%;
}
.valores .info-card {
  margin-left: 0;
  margin-right: 0;
}
.valores .info-bloque-cards {
  gap: 32px;
  margin-top: 18px;
}
.valores .info-card {
  background: #f7f7f7;
  border: 2px solid #ffe0b2;
  box-shadow: 0 2px 8px rgba(132,97,3,0.04);
}
@media (max-width: 900px) {
  .mision-vision .info-bloque-content {
    flex-direction: column;
    gap: 18px;
  }
  .mision-vision .info-bloque-content > div {
    margin: 0;
  }
}
/* --- FIN ESTILOS NUEVAS SECCIONES INFORMATIVAS --- */

/* Centrar las tarjetas de la sección 'Cómo puedes ayudar' en todos los dispositivos */
.como-ayudar {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.como-ayudar .info-bloque-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Centrar los títulos de la sección 'Cómo puedes ayudar' en todos los dispositivos */
.como-ayudar h2 {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Centrar el título de la sección 'Nuestro Impacto' en todos los dispositivos */
.impacto h2 {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Más ancho y texto abultado para la sección ¿Quiénes somos? */
.quienes-somos.inicio-bloque.info-bloque {
  max-width: 1300px;
  width: 98%;
}
.quienes-somos .info-bloque-content > div {
  font-size: 1.18em;
  font-weight: 500;
  line-height: 1.7;
}

/* Títulos más grandes y responsivos en móviles para secciones principales */
@media (max-width: 600px) {
  .quienes-somos h2,
  .impacto h2,
  .valores h2,
  .como-ayudar h2 {
    font-size: 1.45em !important;
    line-height: 1.2;
  }
}
@media (max-width: 400px) {
  .quienes-somos h2,
  .impacto h2,
  .valores h2,
  .como-ayudar h2 {
    font-size: 1.18em !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .quienes-somos h2,
  .impacto h2,
  .valores h2,
  .como-ayudar h2 {
    font-size: 1.8em !important;
  }
}
@media (min-width: 901px) {
  .quienes-somos h2,
  .impacto h2,
  .valores h2,
  .como-ayudar h2 {
    font-size: 2.2em !important;
  }
}

/* Ajuste: Título de '¿Quiénes somos?' más pequeño y texto justificado */
.quienes-somos h2 {
  font-size: 1.1em !important;
}
.quienes-somos .info-bloque-content > div p {
  text-align: justify;
}

/* --- Personalización visual para dashboard de peticiones, manteniendo su esencia pero con coherencia visual --- */
main.flex-grow-1.bg-light {
    background: #f7f8fa !important;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 32px 18px !important;
    min-height: 90vh;
}

.card.shadow-sm, .card.mb-4.shadow-sm {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(132,97,3,0.07) !important;
    border: none;
}

.card-header.bg-primary, .card-header.bg-primary.text-white {
    border-radius: 16px 16px 0 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1em;
}

.card-body.table-responsive {
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.card .table th, .card .table td {
    vertical-align: middle;
    font-size: 1em;
}

.card .btn {
    border-radius: 8px;
    font-size: 0.98em;
}

.card .btn-info {
    background: #4fc3f7;
    border: none;
    color: #fff;
}
.card .btn-info:hover {
    background: #039be5;
}

.card .btn-warning {
    background: #ffe082;
    color: #846103;
    border: none;
}
.card .btn-warning:hover {
    background: #ffd54f;
    color: #6d4c00;
}

.card .btn-danger {
    background: #ef5350;
    border: none;
}
.card .btn-danger:hover {
    background: #b71c1c;
}

/* Tarjetas resumen */
.card.bg-primary, .card.bg-warning, .card.bg-success, .card.bg-secondary {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(132,97,3,0.07) !important;
    border: none;
}
.card .card-title {
    font-size: 1.1em;
    font-weight: 600;
}
.card .card-text {
    font-size: 2.1em;
    font-weight: bold;
}

/* Filtros */
.card-header.bg-primary.text-white.d-flex {
    align-items: center;
    justify-content: space-between;
}

/* Responsive: mayor separación en móviles */
@media (max-width: 600px) {
    main.flex-grow-1.bg-light {
        padding: 10px 2px !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .card .card-title {
        font-size: 1em;
    }
    .card .card-text {
        font-size: 1.3em;
    }
}



/* --- BOTÓN DE DESCARGA PROFESIONAL --- */
.boton{
background-color: #ffffff;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-right: 10px;
}

.download-app-btn {
    display:flex;
    justify-content: center;
    height: 30px;
   margin-bottom: 0px;
    z-index: 1001; 
    align-items: center;
    gap: 10px;
    margin-top: 1%;
    position: relative;
    top: -70px;
    
    padding: 12px 28px;
    background: linear-gradient(90deg, #ffe082 60%, #ffe0b2 100%);
    color: #232323;
    font-weight: 700;
    font-size: 1.08em;
    border-radius: 24px;
    box-shadow: 0 4px 18px rgba(180,138,0,0.10), 0 1.5px 6px rgba(132,97,3,0.08);
    border: 2px solid #ffe082;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s, border 0.3s;
   
    overflow: hidden;
}
.download-app-btn i {
    margin-right: 10px;
    font-size: 1.25em;
    color: #b48a00;
    transition: color 0.3s;
}
.download-app-btn:hover {
    background: linear-gradient(90deg, #fffbe6 60%, #ffe082 100%);
    color: #b48a00;
    border-color: #878378;
    transform: translateY(0.1px) scale(1.0);
    box-shadow: 0 6px 24px rgba(180,138,0,0.13);
}
.download-app-btn:active {
    background: #ffe082;
    color: #846103;
    border-color: #846103;
    transform: scale(0.98);
}
@media (max-width: 700px) {
    .download-app-btn {
        font-size: 0.85em;
        padding: 9px 12px;
        border-radius: 16px;
    }
    .download-app-btn i {
        font-size: 1em;
        margin-right: 7px;
    }
}