:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --light-green: #f4f9f6;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

/* HEADER INSTITUCIONAL */
.institutional-header {
    background: linear-gradient(to right, #FFF, #198754);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MENÚ DE NAVEGACIÓN PRINCIPAL */
.navbar {
    background-color: #198754 !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem !important;
    transition: all 0.3s ease;
    border-radius: 50px;
    margin: 0 5px;
}

.navbar .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar .navbar-nav .nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.navbar .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.navbar-toggler {
    border: 2px solid white;
    background-color: rgba(255,255,255,0.1);
    margin: 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-link {
        padding: 0.6rem 1rem !important;
        text-align: center;
        margin: 2px 0;
    }
}

/* FOOTER INSTITUCIONAL */
.institutional-footer {
    background: linear-gradient(to right, #1a1a2e, #16213e);
    color: white;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 5px;
    padding: 5px 10px;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
        margin-top: 20px;
    }
}
