html, body{
    height:100%;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f6f9;

    display:flex;
    flex-direction:column;
    min-height:100vh;
}


.navbar-custom {
    background-color: #b5ceb2;
    padding: 12px 30px;
}

/* Logo */
.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Texto del título */
.titulo-nav {
    font-size: 22px;
    font-weight: 700;
    color: #1d4d3d;
    white-space: nowrap;
}

.nav-item {
    font-size: 18px;
    margin-right: 10px;
}

/* Links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #1d4d3d !important;
    margin: 0 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #709b76;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown */
.dropdown-menu {
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item:hover {
    background-color: #e9f6ef;
}

/* Mejor icono hamburguesa */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: brightness(0.2);
}

/* TITULO */

h2{
    color:#2f5d46;
    font-weight:600;
    text-align:center;
    margin-bottom:30px;
}

/* CONTENEDOR */

.container{
    flex: 1;
    max-width:1600px;
}

/* FILTROS */

.filtros{
    background:white;
    padding:20px;
    border-radius:12px;
    margin-bottom:25px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.filtros label{
    font-weight:500;
}

/* INPUTS */

.form-control{
    border-radius:8px;
}

/* LISTA FOROS */

.foro-item{
    background:white;
    border-radius:12px;
    padding:20px;
    margin-bottom:18px;
    display:flex;
    gap:20px;
    align-items:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
    transition:0.2s;
}

.foro-item:hover{
    transform:translateY(-3px);
}

/* IMAGEN */

.foro-img img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:10px;
}

/* CONTENIDO */

.foro-contenido{
    flex:1;
}

.foro-contenido h5{
    font-weight:600;
    color:#2f5d46;
}

.foro-contenido p{
    color:#555;
    margin-bottom:5px;
}

/* METADATA */

.foro-meta{
    font-size:13px;
    color:#777;
}

/* BOTON */

.btn-foro{
    background:#6b8f71;
    color:white;
    border:none;
    border-radius:8px;
    padding:8px 18px;
}

.btn-foro:hover{
    background:#557c5e;
}

/* FOOTER */
.contenido-inferior {
    background-color: #b5ceb2;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 -5px 10px #d4d3d3;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col.izquierda h4,
.footer-col.izquierda p {
    text-align: left;
    color: #1b5e20;
    font-size: 16px;
}

.footer-col.izquierda img {
    width: 100px;
    margin-top: 15px;
}

.footer-col.derecha {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-col.derecha h4 {
    color: #1b5e20;
    font-size: 16px;
}

.redes-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.redes-footer a img {
    width: 42px;
    height: 42px;
    transition: transform 0.3s ease;
}

.redes-footer a img:hover {
    transform: scale(1.2);
}