/* HEADER */
body {
    font-family: 'Work Sans', sans-serif;
}
.header-custom {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.header-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #7f13ec;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.header-logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0;
}
.header-logo-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-bottom: 0;
}
.text-primary-custom {
    color: #7f13ec;
}
.header-nav-link {
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1.5rem 0.25rem !important; /* Incrementado para asegurar centrado en todas las resoluciones */
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-nav-link:hover {
    color: #7f13ec;
    border-bottom-color: rgba(127, 19, 236, 0.5);
}
.header-nav-link.active {
    color: #7f13ec;
    font-weight: 600;
    border-bottom-color: #7f13ec;
}
/* Ocultar la flecha por defecto de Bootstrap */
.dropdown-toggle::after {
    display: none !important;
}
.btn-primary-custom {
    background-color: #7f13ec;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(127, 19, 236, 0.3), 0 4px 6px -2px rgba(127, 19, 236, 0.15);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary-custom:hover {
    background-color: #650fbc;
    color: white;
    transform: translateY(-2px);
}
.header-divider {
    width: 1px;
    height: 1.5rem;
    background-color: #d1d5db;
}

/* Estilos para dropdown premium */
.dropdown-menu {
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}
.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background-color: #f9fafb;
    color: #7f13ec;
}

/* Responsividad y alineación para pantallas de escritorio */
@media (min-width: 1200px) {
    .navbar-nav {
        gap: 1.5rem;
    }
    .header-nav-link {
        padding: 1.5rem 0.25rem !important; /* Centrado vertical en escritorio */
    }
}

/* Ajustes para el menú colapsado (Móvil y Tablet hasta 1199px) */
@media (max-width: 1199px) {
    .header-nav-link {
        padding: 0.75rem 1rem !important; /* Padding más natural para menú vertical */
        border-bottom: none;
    }
    .header-nav-link:hover {
        background-color: #f9fafb;
        color: #7f13ec;
    }
    .header-nav-link.active {
        background-color: #f3f4f6;
        border-left: 4px solid #7f13ec;
        border-bottom: none;
    }
}

/* FOOTER */
.footer-custom {
    background-color: rgb(17 24 39);
    color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 2rem;
    opacity: 1;
}
.footer-custom a.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}
.footer-custom a.footer-link:hover {
    color: #ffffff;
}
.footer-custom .footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-custom .footer-text {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.625;
}
.footer-custom .social-link {
    color: #9ca3af;
    transition: color 0.2s;
}
.footer-custom .social-link:hover {
    color: #ffffff;
}
.footer-custom .custom-border {
    border-top: 1px solid #1f2937;
}